answersLogoWhite

0


Best Answer

wap to subtract two variables

User Avatar

Wiki User

โˆ™ 2013-01-05 06:22:58
This answer is:
๐Ÿ™
0
๐Ÿคจ
0
๐Ÿ˜ฎ
0
User Avatar
Study guides

Software and Applications (non-game)

20 cards

What is a programming language

What does DOS stand for

What is a software that is distributed for free

What is application software

โžก๏ธ
See all cards

Software and Applications (non-game)

21 cards

What is a programming language

What does DOS stand for

What is a software that is distributed for free

What is application software

โžก๏ธ
See all cards

Software and Applications (non-game)

23 cards

What is a programming language

What does DOS stand for

What is a software that is distributed for free

What is application software

โžก๏ธ
See all cards

Add your answer:

Earn +20 pts
Q: Write a program in c language to subtract two numbers?
Write your answer...
Submit
Related questions

How do you write an assembly language program to find the sum of n numbers using array?

write an assembly language program to find sum of N numbers


Write an assembly language program to multiply two BCD numbers?

fish


Can you Write a program to subtract two complex numbers using class in c?

I could, but it is your homework, innit?


How do you write a assembly language program to subtract two 8 bit numbers?

Code for 8085 microprocessor. MVI A, Number1 SUI Number2 The code works as follows: Register A = Number1 - Number2


Write a programme for substraction of two numbers in c language?

substracion of any two number program in c


How is adding and subtracting decimals similar to and different from adding and subtracting whole numbers?

You write down the numbers you want to add and subtract, making sure the decimal points are aligned. Then, you add (or subtract) EXACTLY as you would add or subtract integers. The decimal point in the solution should be aligned with the decimal points in the original numbers.


When you write a program in a language such as JAVA it is called?

when we want to write a program as a portable and dynamic with particular methods.because it has a independent language.


How do you write the average n numbers program in c language?

Write your program and if you are having a problem post it here with a description of the problem you are having. What you are asking is for someone to do your homework for you. no i am asking to verify my answer


Write a program in C language to multiply any two numbers without using in source code?

The question is malformed and incomprehensible.


Write a program in 8086 assembly language to find the cube of a given number?

Aim: - To write an assembly language program to find sum of cubes of given 'n' numbers.123456789MOV CL, NUMMOV SUM, 00L1: MOV AL, CLMUL ALMUL CLADD AL, SUMMOV SUM, ALLOOP L1ENDResult: Sum of cubes of first 'n' natural numbers is obtained.


How do you subtract in Roman numerals?

Well, first convert them into numbers(examples:74,95,26)and subtract. Write the answer as a Roman Numeral.


Write a program in assembly language to subtract two 48 bit numbers?

Assuming we are using a computer with a 48 bit word (reasonable as you did not identify the computer in your question): LD A1,Number1 SB A1,Number2 ST A1,Result


Write an assembly language program to add two 16-bit numbers for 8086 microprocessors?

once u check it from jntu spectrum


Write a program to subtract integer y from integer x?

x -=y;


Write a program that inputs two real numbers then exchange their values?

write a program


Write Client and server program in C language using UDP?

Write and run a client and a server program in C-language using UDP


How do you Write a program in 'c' language which accepts int numbers from the users print its reverse number x function which return value?

question clarity


How do you write the password program in vb?

write a program to create password like **** in visual basic language


Write a program in Lex to eliminate white space and collect numbers as a token?

write a lex program to delete space from the program


Write an assembly language program to print a to z on screen?

write a program to print A to Z on screen in c?


What are the advantages and disadvantages of machine language?

AdvantageThe only advantage is that program of machine language run very fast because no translation program is required for the CPU.DisadvantagesIt is very difficult to program in machine language. The programmer has to know details of hardware to write program.The programmer has to remember a lot of codes to write a program which results in program errors.It is difficult to debug the program.


Write a program to divide add multiply and subtract two numbers?

A C program to divide, add, multiply and subtract two numbers; #include int main() { int first, second, add, subtract, multiply; float divide; printf("Enter two integersn"); scanf("%d%d", &first, &second); add = first + second; subtract = first - second; multiply = first * second; divide = first / (float)second; //typecasting printf("Sum = %dn",add); printf("Difference = %dn",subtract); printf("Multiplication = %dn",multiply); printf("Division = %.2fn",divide); return 0; }


Shell program for gcd of three given numbers?

write a shell program for finding out gcd of three given numbers? write a shell program for finding out gcd of three given numbers? write a shell program for finding out gcd of three given numbers? check bellow link http://bashscript.blogspot.com/2009/08/gcd-of-more-than-two-numbers.html


Write an assembly program to find the biggest among two numbers?

Each processor type has its own assembly language. Are you looking for something generic, or for a particular processor?


Write a pseudocode for a program that accepts two integers and substract 5 from the answer?

1. Accept the 2 numbers 2. Add the 2 numbers3. Compare answer with 54. If answer is greater than 5 subtract with 5 else give a error message.