Computer Science, asked by lathikasri21, 6 months ago

WAP to assign name=your name , class=7,sec=your section

,mob1=Father’s mobile number , mob2=Mother’s mobile number , a=sum

of digits of mob1, b= sum of digits of mob2. Calculate and display (a+b)2

with name ,class, sec mob1, mob2. ( Example if mob1=9438633522

then a=45 )(a=9+4+3+8+6+3+3+5+2+2=45 )

[ (a+b)2=a2+b2+2ab ]
Please someone tell me the answer fast​

Answers

Answered by Anonymous
5

Answer:

WAP to assign name=your name , class=7,sec=your section

,mob1=Father’s mobile number , mob2=Mother’s mobile number , a=sum

of digits of mob1, b= sum of digits of mob2. Calculate and display (a+b)2

with name ,class, sec mob1, mob2. ( Example if mob1=9438633522

then a=45 )(a=9+4+3+8+6+3+3+5+2+2=45 )

[ (a+b)2=a2+b2+2ab ]

Please someone tell me the answer

Answered by DynamicPlayer
2

WAP to assign name=your name , class=7,sec=your section

,mob1=Father’s mobile number , mob2=Mother’s mobile number , a=sum

of digits of mob1, b= sum of digits of mob2. Calculate and display (a+b)2

with name ,class, sec mob1, mob2. ( Example if mob1=9438633522

then a=45 )(a=9+4+3+8+6+3+3+5+2+2=45 )

[ (a+b)2=a2+b2+2ab ]

Please someone tell me the answer fast

Similar questions