Computer Science, asked by samreenbabar007, 21 days ago

A university want to print answer sheet consist of 5 pages every page must have the same sheet number. help university to print sheet for example. sheet 1 print nmbr of each page of sheet.in c++​

Answers

Answered by ssatyamkumar3
0

given: print same number on  5 pages;

To Find : number on pages

solution: - we can print any  number on the page buy using for loop in c++ ;

#include<iostream. h >

main()

{

int pages=5;

for(int i=1 ; i<=pages; i++)

{

    cout <<"sheet 1"<< endl ;

}

}

Similar questions