void box(){
printf("\n[A] Add");
printf("\n[B] Subtract");
printf("\n[C] Multiply");
printf("\n[D] Divide");
printf(" ");
printf("\nEnter what you want to execute: ");
}
void box2(){
printf("\n");
printf("\nC - reset values and input again");
printf("\nY - Continue and apply another operation to the answer");
printf("\nX - Exit");
printf("\nEnter you choice: ");
}
float add(float x,float y){
return x+y;
}
float sub(float x,float y){
return x-y;
}
float multi(float x,float y){
return x*y;
}
float dev(float x,float y){
return x/y;
}
About this blog
These codes here are just based on my own knowledge learned from my IT subjects. I know there are more ways that this draft codes can be enhance, so..
Please feel free to comment & suggest.. Suggest Codes which makes my existing codes simpler.. Thanks!
Archives
Categories
Making Life Simple w/ Programming
Links
- w3schools.com
- Java & Textpad Setup Guide 2
- Java & Textpad Setup Guide
- ASCII Alphabet Characters
- File Handling - Forum
- File Handling - Tutorial 0.1
- File Handling - Tutorial 0.2
- Bin-Dec Conversion - Forum
- Use of getch(), getche(), & getchar()
- The C Book
- SEO
- Common C programming errors
- Tutorial - Array Functions
- August Council Tutorial - c
- C language tutorials
- cprogramminglanuage.net
0 comments