Answered step by step
Verified Expert Solution
Question
1 Approved Answer
can someone please help me solve this in C++? and if you add headers please explain and give the code for header. also please explain
can someone please help me solve this in C++? and if you add headers please explain and give the code for header. also please explain steps through comments.
identira2LLE. Contentcontent 4-3 Final Project Building Block One: Programming (Rolling Dice) B. Assignment Develop the code to solve the problem statement below. Follow these style guidelines as you develop the code. Use commenting to describe your code and practice debugging if you run into errors. Submit your final source code. Problem Statement: Design and implement a program that rolls two dice, Ask the user to input a number between 2 and 12. Then, roll your dice by! using a random function to generate a random number representing one of the sides. Output the result of each die and the combined total of the two sides. Continue rolling the dice until the total equals what the user entered. Output the number of tries it took. To complete this assignment, review the Programming Guidelines and Rubric document Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started