Q. If sum of two integer is 14 and if one of them is 8 then find other integer. Ans: Well, this is very simple. Simply, one integer is 8 and sum of two integers is 14. So, we need to subtract the number 8 from their sum of 14 to get the second number. So, the second number is: 14 - 8 = 6 C-Program of this task Code---> #include<stdio.h> int main () { int num1 = 8 , num2 , sum = 14 ; num2 = sum - num1 ; printf ( "The second number is: %d" , num2 ); return 0 ; }
Contact
If you need any kind of help or have any quarries about our programs or want to share your feedback to us or want to give any message or requests please contact with us....
The process of sending us a message is very easy , it will take only your 30 seconds time...
The process contains some steps...
These steps are shown below ----->
- STEP 1: Firstly, You have to click the floating message sign (or the green offline/online button in pc) , which is floating around the down-right corner of your screen...
- STEP 2: Then, after clicking the message sign it will be re-directed to a page(or it will be popped-up in pc) which includes three quarries...
- STEP 3: Then, you have to enter your name, then your email address and at last the message you want to send us...
- STEP 4: At the last step, you have to click the submit button and it is done....
Comments
Post a Comment