هلا بكم اذا ممكن مساعده ف حل بعض مسائل سي بلس بلس
1- write program on c++ that will input a number (4-digit) and output its 1’s-digit, 10’s-digit, 100’s-digit, 1000’s-digit, and the number in reverse order.
Example:
Input a 4-digit number: 1023
first digit : 3
second digit :2
third digit :0
forth digit :1
first digit : 3
second digit :2
third digit :0
forth digit :1
Number in reverse order: 3201
second Q:-
Create aprogram that takes the lengths of three sides of a triangle as inputs and display a message that tells whether the triangle is a scalene (no sides are equal), isosceles (two sides are equal), or equilateral (three sides are equal).
تم تحرير الموضوع 2 مرة, آخر مرة بواسطة شمـ الوداع ـس ().