-
Notifications
You must be signed in to change notification settings - Fork 34
Expand file tree
/
Copy pathnumbers.c
More file actions
26 lines (19 loc) · 707 Bytes
/
numbers.c
File metadata and controls
26 lines (19 loc) · 707 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*Programmer Chase Singhofen
Date: 9/13/2016
Specifications:input output numbers */
//*Programmer directions: Enter numbers greater, smaller, and equal.
#include<stdio.h>
#include<stdlib.h>
main()//main functions
{
int num1, num2, messege1, messege2, messege3; //Variable declarations
printf("Enter two numbers here! \n");//user prompt
scanf_s("%lf %lf", &num1, &num2);
printf("First number is greater than second number \n");
scanf_s("%lf %lf", &num1, &num2);
printf("First number is smaller than second number \n");
scanf_s("%lf %lf", &num1, &num2);
printf("Got it! Both numbers are the same!\n");
scanf_s("%lf %lf", &num1, &num2);
system("pause");
}//end main