Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Why wont my java program run it gives me 2 res X marks and I dont know why? Help i Eclipse Fic Edit Source RefactorNavigate

Why wont my java program run it gives me 2 res X marks and I dont know why? Help image text in transcribed
image text in transcribed
i Eclipse Fic Edit Source RefactorNavigate Search Projoct Run Window Help /Author: 11 Chap2project.javaJava Foundations using Eclipse // Date: 2/19/19 /1 Second attempt using Eclipse to writing/test/run our first Java progran. Angel Cooper 13 pubtic etass chapzpreject 14 ( 15 /I print My third Java assignment 19 21e public static void nain(String! args) 23 25 824 import java util Scanner: Ssanner in -new Scanner(System.in) System.out.print("Enter a number(1-9999):) int num in.nextInt) int thousands num/1880 int hundreds (nun41000)/10 int tens (nuns1e0)ie; 28 29 32 35 36 Problems 22 Javadoc errors, 1 warning, O athers Declaration n Resource Path warnings (1 item) LocationType Smart Eclipse Fie Edit Source Rofactor Novigate Search Project Run Window Helo 21 public statie void maintString!I args) 25 Scanner in - new Scanner(Systen.in) Systen.out.print("Enter a nusber(1-9999)1 28 t num in.nextInt); int thousandsnu/1eee:l int hundreds (nun 1800)/1e0; int tens (nusk108)/1e; int ones (numk18); System.out.print In"Thousand(s) +thousands): System.out.printint "Hundred(s) +hundreds) ; System.out.print In"Ten(s): tens) System.out.print In("Onels): + ones): 31 32 35 37 38 39 41 42 43 248 51 52 53 Problems 13 Javadoc Declaration 0 errors, 1 warning, O others ResourcePath Warnings 11 item) Type

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Genomes And Databases On The Internet A Practical Guide To Functions And Applications

Authors: Paul Rangel

1st Edition

189848631X, 978-1898486312

More Books

Students also viewed these Databases questions