answersLogoWhite

0

/*to print your namr*/

/*by girish kumar raghuvanshi*/

#include<stdio.h>

#include<conio.h>

void main()

{

printf("print ur name");

puts("girish");

getch();

}

User Avatar

Wiki User

13y ago

What else can I help you with?

Continue Learning about Engineering

How do you write a c program to prints name?

Write a c program that reads your first name and surname when you enter them. Each part of your name should not be more than 12 characters. Finally, have the program display your full name.


How do we write a program to print your name age address using read data statement in QBASIC?

In QBASIC, you can use the INPUT statement to read data for your name, age, and address. Here's a simple program example: DIM name AS STRING DIM age AS INTEGER DIM address AS STRING INPUT &quot;Enter your name: &quot;, name INPUT &quot;Enter your age: &quot;, age INPUT &quot;Enter your address: &quot;, address PRINT &quot;Name: &quot;; name PRINT &quot;Age: &quot;; age PRINT &quot;Address: &quot;; address This program prompts the user to enter their name, age, and address, then prints the collected information.


How do you write a horoscope program on python?

Hi gys, are you looking to write a program to know the sign depends on the birth date or horoscope on python? write down following codes on python, those will make a nice program. #This program will get the horoscope sign. def getSign(): name = raw_input ("Enter Your Name: ") month = raw_input("Enter Birth Month: ") day = int(raw_input("Enter Birth Day of Month: ")) if month "y": main() letter = raw_input("Go again? (y/n): ")


How do you write a program in c to request the user to enter the following details employee name id number wageTax code?

To write a C program that requests the user to enter employee details such as name, ID number, wage, and tax code, you can use printf to prompt for input and scanf to read the values. Here's a simple example: #include &lt;stdio.h&gt; int main() { char name[50]; int id; float wage; char taxCode[10]; printf(&quot;Enter employee name: &quot;); scanf(&quot;%49s&quot;, name); printf(&quot;Enter employee ID number: &quot;); scanf(&quot;%d&quot;, &amp;id); printf(&quot;Enter wage: &quot;); scanf(&quot;%f&quot;, &amp;wage); printf(&quot;Enter tax code: &quot;); scanf(&quot;%9s&quot;, taxCode); return 0; } This program declares variables for each detail, prompts the user for input, and reads the values accordingly.


How do you write a program that asks the user to enter their favouite tv programme and display the result 15 times?

#include &lt;iostream&gt; #include &lt;string&gt; using std::cin; using std::cout; using std::endl; using std::string; int main() { cout &lt;&lt; "Enter name of your favorite TV show: \n"; string tvShow = ""; cin &gt;&gt; tvShow; for (int i = 0; i &lt; 15; i++) { cout &lt;&lt; endl &lt;&lt; tvShow; } cout &lt;&lt; endl &lt;&lt; endl; system("PAUSE"); return 0; }

Related Questions

How do you write a c program to prints name?

Write a c program that reads your first name and surname when you enter them. Each part of your name should not be more than 12 characters. Finally, have the program display your full name.


Write a program to read your name and reverse it using arrays?

abdulrahman


How do we write a program to print your name age address using read data statement in QBASIC?

In QBASIC, you can use the INPUT statement to read data for your name, age, and address. Here's a simple program example: DIM name AS STRING DIM age AS INTEGER DIM address AS STRING INPUT &quot;Enter your name: &quot;, name INPUT &quot;Enter your age: &quot;, age INPUT &quot;Enter your address: &quot;, address PRINT &quot;Name: &quot;; name PRINT &quot;Age: &quot;; age PRINT &quot;Address: &quot;; address This program prompts the user to enter their name, age, and address, then prints the collected information.


How do you write a horoscope program on python?

Hi gys, are you looking to write a program to know the sign depends on the birth date or horoscope on python? write down following codes on python, those will make a nice program. #This program will get the horoscope sign. def getSign(): name = raw_input ("Enter Your Name: ") month = raw_input("Enter Birth Month: ") day = int(raw_input("Enter Birth Day of Month: ")) if month "y": main() letter = raw_input("Go again? (y/n): ")


What does inscribed mean?

write on/in stone, metal,paper;enter a name in a list write on/in stone, metal,paper;enter a name in a list write on/in stone, metal,paper;enter a name in a list


A Java Program to choose directory and search file name content file name and content must both enter It will list out the result and when click on the result it will show the content?

write a program of phone dirictory


How to write a Shell program to find the no of vowels in a text?

clear echo -n "Enter the Name / String:" while : do read name echo $name | awk '{print gsub(/[aeiou]/,"")}' done


How do you write your name with twilight font?

You need to install the font in your computer and then write your name with it by using Word or any other program. If you want to do it using a pencil, you can alway copy the fonts from a website. You can download the Fonts from the related link.


Write a shell program using if-the-else to test whether a variable name is a directory or a file?

see : Write_a_shell_program_using_the_if-the-else_to_test_whether_a_variable_name_is_a_directory_or_a_file


How do you compile and execute programs using command line in DOS?

ad1: install a compiler ad2: just enter the program's name at the prompt


How do you write a program in c to request the user to enter the following details employee name id number wageTax code?

To write a C program that requests the user to enter employee details such as name, ID number, wage, and tax code, you can use printf to prompt for input and scanf to read the values. Here's a simple example: #include &lt;stdio.h&gt; int main() { char name[50]; int id; float wage; char taxCode[10]; printf(&quot;Enter employee name: &quot;); scanf(&quot;%49s&quot;, name); printf(&quot;Enter employee ID number: &quot;); scanf(&quot;%d&quot;, &amp;id); printf(&quot;Enter wage: &quot;); scanf(&quot;%f&quot;, &amp;wage); printf(&quot;Enter tax code: &quot;); scanf(&quot;%9s&quot;, taxCode); return 0; } This program declares variables for each detail, prompts the user for input, and reads the values accordingly.


Write a c program to read your name given in the format first name and second name find the length of the name and also concatenate them?

#includeusing std::cin;using std::cout;using std::endl;using std::string;int main(){string firstName = "John";cout firstName;string lastName = "Doe";cout lastName;cout