Computer Science, asked by orkhan022207, 1 month ago

Project Stem
Ask the user to input an integer. Print out the next three consecutive numbers.

Sample Run
Enter an integer: 4
5
6
7
please help me

Answers

Answered by Anonymous
2

Answer:

cout<<"Next three consecutive integers are as following:"<<endl; for(int i=1;i<=3;i++) //for loop to print three integers. cout<<++z<<endl;//printing the integers.

Similar questions