create a c++ program that has 3 functions with return type void first function is called Sum the second function is called Information and the third is called Calculation.
a) in the definition of Sum function, you should creat 5 random numbers and print their sum value.
b) in the information function, you should let the user enter his name (Gretta) his major (graphic design) his height (176) his age(23), then you should print all the entered information concatenated with a "-"
c) in the third function Calculation, you should let the user enter any two numbers, and you should print the multiplication of the entered numbers.
d) call the three function from main.
e) using for loop, display the value of the function information 5 times.
Jump to Post
So what seams to be your problem. Just posting your homework will get you nowhere. I will offer to do it for $1000 USD that that is a limited time special offer.
All 5 Replies
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.