#4: Get User Input in C Programming

preview_player
Показать описание
#4: Get User Input in C Programming

Step by step video tutorials to learn C Programming for absolute beginners!

In this video, we will learn to take input from users using the scanf() function and show output using the printf() function. In C programming, the scanf() function takes input from the user and stores it in a variable. Similar to printf(), the concept of format specifier is also used in scanf() so, we will learn it in much detail.

~

Watch our videos and revise them with our C App!

Timestamps:
0:00 Start
3:09 Take Double Input
5:30 Take multiple input
6:56 Quiz

Find Programiz elsewhere:

#cprogramming #programiz #learnprogramming #takeinputinc #programming #scanf #printf #input #output
Рекомендации по теме
Комментарии
Автор

🔥Finding it Damn Hard to Understand C Programming?
Learn to code—the right way—with interactive lessons, quizzes & challenges. Build a strong programming base; it's IMPORTANT!

programizstudios
Автор

the answer is option c. scanf("%lf", &input);

fulchandsheikh
Автор

Answer to the question asked in the end of the video will be option C.

sukanyamukherjee
Автор

Programiz has been my go to channel for learning C programming. You guys never fail to give amazing tutorials. Thank you team programiz!!! Very grateful 👍👍😄😄

anommaharjan
Автор

Just started learning programming for the first time and so far, so good. About the last quiz on the tutorial, double input is represented by %lf, hence the correct answer is ("%lf", &input);

collinshagembe
Автор

/* Program to take integer and float input from the user */

#include <stdio.h>
int main() {

int value1;
float value2 ;

printf("\n Enter the values : ");
scanf("%d" "%f", &value1, &value2);

printf("\n The integer value entered is : " "%d", value1);

printf("\n The float value entered is : " "%f", value2);

return 0;
}

harikrishnansa
Автор

the course is simplified and the face facilitating is encouraging to watch all the series at once lol

mabuocmanyuat
Автор

#include <stdio>
int main(){
int number;
float decimal;
printf("Enter an integer and float number with spaces: ");
scanf("%d %f", &number, &decimal);
printf(" Your integer = %d", integer);
printf("\nYour decimal = %f, decimal);
return0;
}

abolarinjohn
Автор

These lessons are excellent for beginners. Keep up the good work!

kmaboreke
Автор

Nice studio setup! Very professional looking and awesome content. to the point and informative.

NathanatUuiu
Автор

Its been a while I've been subscribed to this channel and my skills as a C developer has grown rapidly. Thank you for this series !!!

hm...
Автор

Great tutorial. The correct way to take a double input is of answer C: scanf("%lf", &input); Thanks.

eazyj_c
Автор

option C is the correct answer. option A is for the int data type input, option B is for the float data type input, and option D is for the char data type input. Great content, amazing explanation.

annettewairimu
Автор

Thank you so much for the simplicity of your lessons

georgiaisiodu
Автор

I'm enjoying these lessons so easy to understand

stevensmasenya
Автор

I enjoy your lessons very much and are very helpful 👍👍👍❤❤

nyamburageorgemboni
Автор

@Programiz is my best experience with C

davidemmanson
Автор

the best tutorial i have found about c language👌

alirezaz
Автор

Thank you, this is great! more please.

daveterra
Автор

Thank you so much for the video @Programiz

hrushabhpatil