answersLogoWhite

0

It is very easy.

The program begins here.....

/*Program to sum and print numbers without creating variables*/

#include<stdio.h>

main()

{

clrscr();

printf("%d+%d=%d",5,2,5+2);

getch();

}

/*Program ends here*/

Now just by changing the numbers in the "printf" statement we can add, subtract, multiply and divide the numbers without using variables.

Hence the problem is solved..........

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

How do you write BASIC program to accept variables?

dim a input a


Will post office accept mail with only 5 numbers in zip?

Yes, or even without a zip code.


Accept 5 numbers in an array and display it?

Accept 5 numbers in an array and display it.


How do you accept user inputed values in oracle in loop?

Variables beginning with a single ampersand "&amp;".


What is the smallest 10-digit number without any number symbol repeated?

If you'll accept a decimal, then it's .0123456789 If you want whole numbers only, and you'll accept a leading zero, then it's 0,123,456,789. If not, then it's 1,023,456,789.


A flowchart to Accept three numbers and check whether it firms to Pythagorean triplet?

Accept 3 natural numbers and check whether it firms pythagorean triplet


Is there university in egypt accept student without sat test?

No, there are no Universities in Egypt that will accept a student without an SAT score.


What is the definition of ability to accept failure?

To accept failure is really self explanatory. To deal with it without losing your control, anger or without it negatively affecting you, your life, or your relationships. That is what will determine your ability to accept it or not.


How do you accept three numbers weather it is equal or unequal?

How_do_you_accept_three_numbers_and_check_weather_the_numbers_are_equal_or_unequal_if_it_is_unequal_find_the_greatest_number_among_them


A c program for multiplication of two integers a and b?

/*PROGRAM TO ACCEPT TWO NUMBERS FROM THE USER AND PRINT THEIR MULTIPLICATION. */ #include&lt;stdio.h&gt; #include&lt;conio.h&gt; void main() { int a, b, c; // Declaration of Variables. Variables 'a' &amp; 'b' to hold first &amp; second number. And 'c' to hold result. clrscr(); // To clear the output screen every time program is executed. printf("\n Enter the first number : "); scanf("%d", &amp;a); // To accept the first number. printf("\n Enter the second number : "); scanf("%d", &amp;b); // To accept the second number. c = a*b; // Logic to get the product of the entered two numbers. printf("\n Multiplication of %d &amp; %d = %d", a, b, c); // Displaying result. getch(); // To hold the output screen. }


Do banks accept credit privacy numbers?

What is a credit privacy number???


Which numbers are integers?

All number accept 0, SCROLL DOWN