Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

story a 13 @paran args the comand tine argusents public static void main(String1 args) / First progras to try out NetBeans ID System.out.printio int nuni

image text in transcribed
image text in transcribed
image text in transcribed
story a 13 @paran args the comand tine argusents public static void main(String1 args) / First progras to try out NetBeans ID System.out.printio int nuni T5: nunl& num are variables int nun2: System.out printInt"Printing variable values") Systes.out printIn("Nn1u) nus2 5 System.out.printIn("Nun2nu2) 19 / that can hold INTeger values Systes.out.pr int In("Product of nuni &(uum2) System.out.printin ouot ient of nusl & un(ouminum2) Systes.out-printin) 27 at u2) / prists a blank Line double nun3 -n2s Systes.out.print Int" hold loating poist values tatenent 38 tenent 2 Systes.out.print In"Ne value of nmt Enuel l System.out.printInt"Value of nue System.out.printInt Fina vatue of nug tnun2 nu23Inun/ System.out print Int Aodition sign between nust and nusz Iversion a Systes.out.print Intodition sign between nus and nun2 version 21 System.out.print Int Aadicion sign betveen unian num2) tem.out.print incion sign betwees n2 and u version 4) nusi num3 se un: Printing variable values Num1-75 Product of numl & num2 375 Quotient of numl & num2 15 1 .java New value of numl Inumla nu1 (nun23)1 is 6e Value of num [nun3-nua3 / 3 + (nun1um3)/21 is 7.666666666666667 Final value of nun2 [nun2 num23 (num1um2)/21 7 Addition sign between nun1 and nun2 (version 1) 607 Addition sign between nuni and num2 (version 2) 67 Addition sign between nus1 and num3 (version 3) 67.66666666666667 Addition sign between numl and nun3 (version 4) 607.666666666666667 Share ^ Cambria (Body) .11 12 .1 A^ Ar A: Pane 2.g) Tell how many variables are declared in this program, give the names of the variables and give the data types of the variables. (6 pts) 10 3288 Words English (US) Focus + 132% Screen Shot 2018-17.47 PM creen Shot

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

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

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

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

Get Started

Students also viewed these Databases questions