By using interactive mode write a program to display your name
Answers
Answered by
1
☺️
━━━━━━━━━━━━━━━━━━━Python has two basic modes: script and interactive. The normal mode is the modewhere the scripted and finished .py files are run in the Python interpreter. Interactive modeis a command line shell which gives immediate feedback for each statement, while running previously fed statements in active memory.
━━━━━━━━━━━━━━━━━━━
━━━━━━━━━━━━━━━━━━━Python has two basic modes: script and interactive. The normal mode is the modewhere the scripted and finished .py files are run in the Python interpreter. Interactive modeis a command line shell which gives immediate feedback for each statement, while running previously fed statements in active memory.
━━━━━━━━━━━━━━━━━━━
Answered by
0
Explanation:
#include <stdio.h>
int main()
{
char inputstring[100];
printf("Welcome");
printf("Enter your name");
scanf("%s",inputstring);
printf("Your name is:");
printf("%s", inputstring);
return 0;
}
Interactive mode means, the user must be enabled to enter input and get some feedback out of that input. Here the motto is that the user has display his name. So we have get the name of the user and print the same.
Here “%s” is used to get the string value from the user and the same is applicable while displaying the output.
To Learn more:
https://brainly.in/question/2507509
https://brainly.in/question/14465849
Similar questions
India Languages,
7 months ago
English,
7 months ago
Math,
7 months ago
Math,
1 year ago
Math,
1 year ago