write a program for input is 56 output will be 5+6=10?

Answer Posted / mani kandan.s

#include<stdio.h>
#include<conio.h>
void main()
{
int n,a,b;
clrscr();
printf("Enter the n value");
scanf("%d",&n);
a=n%10;
b=n/10;
printf("Result is=%d",a+b);
getch();
}

Is This Answer Correct ?    14 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

hi... i just want to know that how could join the AAI with an B.E back ground??? please help me out.

1578


What do you mean by component versionig?

1450


i have applied for junior engg. signal II please send me questions papers for it

1485


write a program for reverse a given string?

1613


what is the main fuction of OSPF in a internetwork? how does work of same network?

1442






what is the PID controller?

1649


I am refused L1-B visa filed by my employer on May 09 by US consulate Chennai. When i am eligible to apply L1-B visa again through my employer?

1823


What are the input documents to 1.Functional testing,2.System testing and 3.Integration testing. Whether there will be separate test cases for regression testing or functional testing?

1548


Reverse the link list without creating new list ?

2201


How to write a test case for an extra Commerce website can any one tell this with the help of a table

1231


what is the difference between core java and advance java

1477


tell me the e book for data structure (basic)

1624


BEL old probationary engineering questions and answers

4876


why dijkstra algorithm not used for negative weighted edges graph??

1621


As a good company employee, can you report your supervisor to the company management if he or she is going against the company interest in his or her actions?

2074