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.
maria.gretta 0 Newbie Poster
NathanOliver 429 Veteran Poster Featured Poster
Maritimo 15 Junior Poster in Training
Rafiii 0 Light Poster
NathanOliver 429 Veteran Poster Featured Poster
bc230201818 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.