مصعب عبد الكريم نشر 30 أغسطس 2019 أرسل تقرير مشاركة نشر 30 أغسطس 2019 (معدل) أرجو حل المسأله هذه المسأله Write c program that allow the user to enter enter integer number and display the value in hours and minutes for example:197 minutes becomes 3 hours and 17 minutes و شكرآ تم التعديل في 30 أغسطس 2019 بواسطة مصعب عبد الكريم اقتباس رابط هذا التعليق شارك على الشبكات الإجتماعية More sharing options...
0 Entesar Khaled نشر 30 أغسطس 2019 أرسل تقرير مشاركة نشر 30 أغسطس 2019 It will be something like this #include <stdio.h> main() { int total_amount_seconds, hour, min; printf("Give me the total amoumnt of seconds:\n"); scanf("%d", &total_amount_seconds); hour = total_amount_seconds / 3600; total_amount_seconds = total_amount_seconds % 3600; min = total_amount_seconds / 60; total_amount_seconds = total_amount_seconds % 60; printf("There are:\nH:M:S - %d:%d:%d", hour, min, total_amount_seconds); } 1 اقتباس رابط هذا التعليق شارك على الشبكات الإجتماعية More sharing options...
السؤال
مصعب عبد الكريم
أرجو حل المسأله هذه المسأله
Write c program that allow the user to enter enter integer number and display the value in hours and minutes for example:197 minutes becomes 3 hours and 17 minutes
و شكرآ
تم التعديل في بواسطة مصعب عبد الكريمرابط هذا التعليق
شارك على الشبكات الإجتماعية
1 جواب على هذا السؤال
Recommended Posts
انضم إلى النقاش
يمكنك أن تنشر الآن وتسجل لاحقًا. إذا كان لديك حساب، فسجل الدخول الآن لتنشر باسم حسابك.