This file contains 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 <stdlib.h> | |
#include <stdio.h> | |
#include <limits.h> | |
#include <string.h> | |
#define size 2 | |
struct Customer{ | |
char firstName[30]; | |
char lastName[30]; | |
char street[35]; |
This file contains 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 <stdlib.h> | |
/* MAIN */ | |
int main() { | |
int parmA, parmB; | |
int parma, parmb; // used later to reset | |
printf("Enter 2 integers "); |
This file contains 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
hour = int(input("Starting time (hours): ")) | |
mins = int(input("Starting time (minutes): ")) | |
dura = int(input("Event duration (minutes): ")) | |
# put your code here | |
MD = mins+dura | |
#used to brake decimal away and return only whole # | |
TT = MD%60 |