answersLogoWhite

0


Best Answer

use cout << simple

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you print the message without using printf and semicolon?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Without printf statement semicolon print the statement?

int main (void) { if(printf("Print whatever you want")) { } }


Can you print string without using semi column in printf statement in c programming?

If you forget the semicolon, your program won't compile.


Can anyone give a logic in c plus plus to print something on screen using printf statement but without semicolon used after printf statement?

try to usecondition ? value if true : value if falseor: if (printf ("Hello")) {}


Print 200 with and without sign?

printf("%u %+d %+d",200,200,-200); //will print 200 +200 -200


How to print float or double without using printf?

With functions like ecvt, fcvt, gcvt.


Write a program in c language to print some message on the screen with out using printf?

you can put the printf function inside a if() so that you need not use semicolons. for eg to print my name, if(printf("My Name is Maheedharan")) {} this will work. try this out...


To print the name without using semicolon?

#include &lt;stdio.h&gt; int main (void) { puts ("the name"); return 0; }


How do you print in c?

printf(format_string, ...);


What is printf function?

Printf function is used in c language. Printf is used to print something to the standard output. ex: printf ('welcome');


What are the extra uses of pointer such as print anything on the screen without using printf in c?

Your question makes no sense.


How do you print on console without using printf or puts in c language?

write, putchar, putc, fputc etc


How do you write a C program using an integer array to print array numbers up to 100 and then remove all numbers that are divisible by 2 and print out the remaining numbers and continue for 3 to 9?

#include&lt;stdio.h&gt; #include&lt;conio.h&gt; void main() { int i, a[100]; clrscr(); printf("Numbers from 1 to 100"); for(i=1;i&lt;=100;i++) printf(" %d",a[i]); printf("Numbers from 1 to 100 without multiples of 2"); for(i=1;i&lt;=100;i++) { if (a[i]%2 !=0) printf(" %d",a[i]); } printf("Numbers from 1 to 100 without multiples of 3"); for(i=1;i&lt;=100;i++) { if (a[i]%3 !=0) printf(" %d",a[i]); } printf("Numbers from 1 to 100 without multiples of 4"); for(i=1;i&lt;=100;i++) { if (a[i]%4 !=0) printf(" %d",a[i]); } printf("Numbers from 1 to 100 without multiples of 5"); for(i=1;i&lt;=100;i++) { if (a[i]%5 !=0) printf(" %d",a[i]); } printf("Numbers from 1 to 100 without multiples of 6"); for(i=1;i&lt;=100;i++) { if (a[i]%6 !=0) printf(" %d",a[i]); } printf("Numbers from 1 to 100 without multiples of 7"); for(i=1;i&lt;=100;i++) { if (a[i]%7 !=0) printf(" %d",a[i]); } printf("Numbers from 1 to 100 without multiples of 8"); for(i=1;i&lt;=100;i++) { if (a[i]%8 !=0) printf(" %d",a[i]); } printf("Numbers from 1 to 100 without multiples of 9"); for(i=1;i&lt;=100;i++) { if (a[i]%9 !=0) printf(" %d",a[i]); } getch(); }