forked from singhofen/c-programming
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinput.c
More file actions
26 lines (17 loc) · 657 Bytes
/
Copy pathinput.c
File metadata and controls
26 lines (17 loc) · 657 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
// ConsoleApplication1.cpp : Defines the entry point for the console application.
/*Programmer Chase Singhofen
Date 9/6/2016
Specifications: Take the input from the user and output it
*/
#include <stdio.h>
#include <stdlib.h>
main()
{
double a = 0.0; //Initialize Variables
double b = 0.0;
double c = 0.0;
printf("please enter a numbers(decimals):\n"); //Prompt user to input
scanf_s("%lf %lf %lf", &a , &b , &c); //Take input
printf("the number entered is %lf, %lf, %lf \n", a , b, c); //Display input
system("pause"); //Pause the console
}