This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <stdbool.h> | |
| int main(){ | |
| //Multiplication table | |
| bool wantSee; | |
| bool doesLike; | |
| bool saidYes = false; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <stdbool.h> | |
| #include <string.h> | |
| void printIntro(char name[], int age); | |
| bool isOldEnough(int age); | |
| int main(){ | |
| //Krusty Krab!!! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <math.h> | |
| float cb(float num); | |
| float sq(float num); | |
| int main(){ | |
| float x; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <stdbool.h> | |
| #include <string.h> | |
| void hb(char name[50], float age){ | |
| printf("\nHappy Birthday to you!"); | |
| printf("\nHappy Birthday to you!"); | |
| printf("\nHappy Birthday dear %s!", name); | |
| printf("\nHappy Birthday to you!"); | |
| printf("\nYou are now %.0f years old!\n", age); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| int main(){ | |
| //Simple two value calculator that outputs in 6 decimals | |
| float x; | |
| float y; | |
| float z; | |
| char oper = '\0'; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <ctype.h> | |
| int main(){ | |
| char choice = '\0'; | |
| float F = 0.0f; | |
| float C = 0.0f; | |
| printf("Temp Converter (F and C)\n"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| int main(){ | |
| int choice = 0; | |
| float oz = 0.0f; | |
| float kg = 0.0f; | |
| printf("Kg to Oz (Vice-versa)\n"); | |
| printf("Option 1. Kg to Oz\n"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <stdbool.h> | |
| int main(){ | |
| int age = 0; | |
| int beerinput = 0; | |
| bool beer; | |
| printf("How old are you? \n"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <math.h> | |
| int main(){ | |
| double p = 0.0; | |
| double r = 0.0; | |
| int yrs = 0; | |
| int tc = 0; | |
| double rtn = 0.0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <math.h> | |
| int main() | |
| { | |
| double rad = 0.0; | |
| double a = 0.0; | |
| double surfa = 0.0; | |
| double v = 0.0; |
NewerOlder