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 ; }
About Us
We are a team of small programmers, doing and sharing our codes each and every day for Easy learning of coding,Reduce the time of coding by using our basic-common small programs as they are created for you,We care for you so, you can request us your programs which are little tough for you or you can request us for debugging your codes.
We also offer Video Tutorials for you. They available on Youtube Platform.
We also Available on FaceBook. There, you can message us easily and comfortly communicate with us.
Follow our facebook page : https://www.facebook.com/ProgramJoyOfficial
Please, Follow our Twitter account too. We want to connect all over world and with you.
Follow us on our Twitter account : https://twitter.com/programjoy
To see, our videos Please, Subscribe to our YouTube Channel : ProgramJoy@YouTube
If you neeed to contact us immediately then, we are always happy to help.
Please, Contact Us with our
E-mail address : programjoyofficial@gmail.com
Comments
Post a Comment