0

heyy can anyone please help me with this homework in java because i am new at this
Create a program where it should appear in a dialog box your name,last name and the avarage of four exams
:)

4
Contributors
4
Replies
24
Views
1 Week
Discussion Span
Last Post by Tarek_2
0

heyy can anyone please help me with this homework

yes, there are many people here who will help you.
But that means "help you to learn how to d o it yourself". Nobody will do it for you.
Show what you have done so far, and explain where and why you are stuck, and someone will help.

0

This is what I have done so far

 import javax.swing.JOptionPane;
public class Mesatarja1 {
public static void main(String[] args) {
    JOptionPane.showInputDialog("Vendos emrin");
    JOptionPane.showInputDialog("Vendos noten e matematikes");
    JOptionPane.showInputDialog("Vendos noten e letersise");
    JOptionPane.showInputDialog("Vendos noten e anglishtes");
    JOptionPane.showInputDialog("Vendos noten e lendes me zgjedhje 1");
    JOptionPane.showInputDialog("Vendos  noten e lendes me zgjedhje 2");}
1

@a, now I've really worried that you told the truth about new to this. Did you skip classes and not complete prior homework? The reason I ask is what you supplied is the beginning and classes build on prior lessons adding as you go.

I would find it hard to believe you were given this assignment without having to write a small thing that would ask for some information.

Edited by rproffitt: Spelling.

Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.