A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/premierconsult/public_html/index.php:65)

Filename: core/Input.php

Line Number: 408

A PHP Error was encountered

Severity: Warning

Message: session_start(): Cannot send session cookie - headers already sent by (output started at /home/premierconsult/public_html/index.php:65)

Filename: Session/Session.php

Line Number: 143

A PHP Error was encountered

Severity: Warning

Message: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/premierconsult/public_html/index.php:65)

Filename: Session/Session.php

Line Number: 143

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/premierconsult/public_html/index.php:65)

Filename: controllers/Questions.php

Line Number: 330

برنامج سي شارب c# يقوم بكتابة الاسم الانكليزي المختصر للاشهر | مقدمة في البرمجة IPG101 الجامعة الافتراضية السورية

برنامج سي شارب c# يقوم بكتابة الاسم الانكليزي المختصر للاشهر


برنامج سي شارب c# يقوم بكتابة الاسم الانكليزي المختصر للاشهر

الأجوبة

using System;
class HelloWorld {
  static void Main() {
           int m; 
     string Sm;     
     string month = ""; 
 
    // Read m 
    Console.Write(" Input m : "); 
    Sm = Console.ReadLine(); 
    m = Int32.Parse(Sm); 
 
    // give month string abreviation corresponding to number: m     
    switch (m){ 
        case 1: month = "Jan";             break; 
        case 2: month = "Feb";             break; 
        case 3: month = "Mar";             break; 
        case 4: month = "Apr";             break; 
        case 5: month = "May";             break; 
        case 6: month = "Jun";             break; 
        case 7: month = "Jul";             break; 
        case 8: month = "Aug";             break; 
        case 9: month = "Sep";             break; 
        case 10: month = "Oct";             break; 
        case 11: month = "Nov";             break; 
        case 12: month = "Dec";             break; 
        default : month = "?";             break; 
    } 
    // write month                                         
    Console.WriteLine(" Month " + m + " is " + month); 
  }
}
هل كان المحتوى مفيد؟

تبحث عن مدرس اونلاين؟

محتاج مساعدة باختيار المدرس الافضل؟ تواصل مع فريقنا الان لمساعدتك بتأمين افضل مدرس
ماهو التخصص الذي تبحث عنه؟
اكتب هنا...