الفريق العربي للبرمجةأرشيف المنتديات · 2000 – 2023
نسخة أرشيفية للقراءة فقط — التسجيل والمشاركة مغلقان، والمحتوى محفوظ كما كان.

بليييييييز الله يخليكم ساعدوني

بدأه يارا - yara في 10 ديسمبر 2011 · 2 رد · 1,890 مشاهدة · في JavaSE
مشاركة: واتساب X فيسبوك تيليجرام
#1 صاحب الموضوع

الله يخليكم سااااااااااااااااااعدوني في حل الاسئلة هذي ضرووووووووري

1. write a program for 5*1=5 using while and For Conditional Statement.

2. write a program using nested if condition for student detail like student Rollno, Mark1, Mark 2, Mark 3, Total, Average. (>75-- Excellent, >55 and <=75--V.Good, >35 and <=55--Good, >25 and <=35-- average and <25 ---- fail)

3. write a program using input from keyboard for multiplication function overloading.

الله يوفقكم ابي الحل في اسرع وقت ممكن :S :sad:

مشكووووووووووووووووووورين مقدمااااا :)

−2
#2

import java.util.Scanner;

class EE

{

public static void main(String args[])

{

Scanner scan = new Scanner(System.in);

System.out.println("Enter of nomber");

double name=scan.nextDouble();

double mark1=scan.nextDouble();

System.out.println("Enter mark1");

double mark2=scan.nextDouble();

System.out.println("Enter mark2");

double mark3=scan.nextDouble();

System.out.println("Enter mark3");

double x=mark1+mark2+mark3;

System.out.println("Name "+name);

System.out.println("mark "+x+3);

if(x>100)

System.out.println("100");

else

if(x>75)

System.out.println("75");

else

if(x>55)

System.out.println("55");

else

if(x>35)

System.out.println("35");

else

if(x>25)

System.out.println("25");

}

}

جربي هذا الحل ...

−1
#3

للأسف سؤالك مو واضح كثير ياليت ترفقينه ملف doc او pdf

−1

مواضيع مشابهة

عدد الزوار حالياً

المتواجدون خلال آخر دقيقتين · يتحدّث كل ٣٠ ثانية

—الإجمالي—أعضاء مسجّلون—زوار بدون تسجيل

جارٍ التحقق من المتواجدين…