subject

Write a C++ program that generates a random two-digit integer. The program prompts the user to predict the generated number by entering a two-digit integer, and then determines the accuracy of the user’s prediction according to the following rules:

If the user’s prediction matches the generated number exactly, the accuracy is 100%.

If one digit in the user’s predicted number matches a digit in the generated number, the accuracy is 50%.

If none of the digits in user’s predicted number matches with the generated number, the accuracy is 0%.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 17:30
Rachel completed typing an official document with a word processing program. she wants to make sure that her document has no typographical errors. she also wants all headings to have the same font. which features in a word processing program should she use? rachel should use the feature in a word processing program to find typographical errors. she should apply to have uniform headings.
Answers: 1
question
Computers and Technology, 23.06.2019 15:00
Jake really works well with numbers and is skilled with computers but doesn't work well with others. which of the jobs discussed in this unit might be best for jake? why?
Answers: 3
question
Computers and Technology, 23.06.2019 16:30
How to do this programming flowchart?
Answers: 3
question
Computers and Technology, 24.06.2019 12:00
What is a sketch or blueprint of a web page that shows the structure (but not the detailed design) of basic page elements such as the logo, navigation, content, and footer?
Answers: 3
You know the right answer?
Write a C++ program that generates a random two-digit integer. The program prompts the user to predi...
Questions
question
Mathematics, 20.10.2020 05:01
question
Mathematics, 20.10.2020 05:01
question
Mathematics, 20.10.2020 05:01
question
Mathematics, 20.10.2020 05:01
Questions on the website: 13722360