Dude, your fucking programming! THE ROCK, PAPER, SCISSORS – C

  #include <stdio.h> #include <stdbool.h> #include<stdlib.h> void main(){ //variables bool gameOn = true; char *myButt[3]; int player1; int computer; myButt[0] = “The Rock”; myButt[1] = “PAPER”; myButt[2] = “Scissors”; char yesNo; //score vairables int playa = 0; int compScore = 0; while(gameOn == true){ printf(” THE ROCK, PAPER, SCISSORS \n”); printf(“\n\n”); printf(“********************SCOREBOARD************************\n”); printf(” \n”); printf(” …

Dude, your fucking programming! LAB2Q4

LAB2Q4     #include <stdio.h> void main(){ //variables int luckyNumbers[10]; int sumTotal = 0; int maxNum = 0; int minNum = 0 ; printf(“Please enter 10 of your lucky numbers…:\n”); for(int mattDamon = 0; mattDamon < 10; mattDamon++){ printf(“Please enter number … %d :”, mattDamon +1); scanf(“%d”, &luckyNumbers[mattDamon]); sumTotal += luckyNumbers[mattDamon]; }// maxNum = luckyNumbers[0]; …

Dude, your fucking programming! Lab2Q2

DYFP – LAB2Q2             #include <stdio.h> //a program to enter in different types of values and then prints that shit to screen. void main(){ printf(“********Dude, your fucking programming!*********\n”); printf(“”); printf(“”); printf(“”); //variables int mattdamon; int mattdamon2; char billybaldwin; float floater; //inputing values printf(“Enter a number…:”); scanf(“%d”, &mattdamon); printf(“\nEnter number 2…:”); …