- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 9
- Posts with Downvotes
- 5
- Downvoting Members
- 6
3 Posted Topics
Is there any difference between a sorted link list and an ordered link list? If there is any difference please show it by giving an example. Thanks
There are N coins kept on the table, numbered from 0 to N - 1. Initally, each coin is kept tails up. You have to perform two types of operations : 1) Flip all coins numbered between A and B. This is represented by the command "0 A B" 2) …
[CODE] #include<iostream.h> #include<conio.h> int main() { clrscr(); int num,sum=0,big; for(int i=0;i<3;i++) { cout<<"\nType"<<i+1<<"num:"; cin>>num; if(num%2!=0) { cout<<"The entered number is odd program is terminating"; getch(); return 0; } if(i==1) big=num; if(num>big) big=num; sum=sum+num; } cout<<"\nThe largest of all entered number is"<<big; cout<<"\nThe average of the number is:"<<sum/3; getch(); return 0; …
The End.
neil_mahaseth