- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 18
- Posts with Downvotes
- 8
- Downvoting Members
- 9
**** * *** and ** ** *** * **** well my teacher wont say a thing and have passed this act. now our teacher is a different one and i can't still figure it out.. help pls??... :S the only loop i know is this * ** *** **** =============================================== … |
|
#include<stdio.h> main() { int a,x,y,z; clrscr(); printf("Select from the following operation:"); printf("1]Addtion"); printf("2]Subtraction"); printf("Enter your choice here:"); scanf("%i",&z); switch(z) { case 1: printf("Enter Num 1:") scanf("%i",&x); printf("Enter Num 2:") scanf("%i",&y); a=x+y; printf("%i + %i = %i",x,y,a); break; case 2: printf("Enter Num 1:") scanf("%i",&x); printf("Enter Num 2:") scanf("%i",&y); a=x-y; printf(" %i … |
|
how to make a program that has a menu and once you choose a certain topic then when your through with that how will you return to the previous menu that is under a certain condition like in a do while loop ?? can someoNe help me?? |
|
sir can you give a an example of an nested menu code for c>>??<< i want to learn how a to make a program that will return to its menu after executing a choice on its list?? like this menu 1] addition 2]subtraction enter your choice: 1 enter num 1: … |
|
i really need to know how to make a program that will never end and continue to repeat itself from the beginning... ^^!! |