Computer Science, asked by viratawasthi00, 1 year ago

By using interactive mode write a program to display your name

Answers

Answered by Nitish0001
1
\mathbb{\red{\huge{Hey\:mate}}}☺️
\boxed{Here\:is\:your\:@nswer}
━━━━━━━━━━━━━━━━━━━\mathfrak{\green{Answer.}}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.
━━━━━━━━━━━━━━━━━━━
 \huge{\bf{ \orange {\fbox{\underline{ \color{blue}{Follow\: Me}}}}}}
Answered by mariospartan
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