How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask ATLPROG Your Own Question

ATLPROG
ATLPROG, Computer Software Engineer
Category: Programming
Satisfied Customers: 7677
Experience:  MS in IT.Several years of programming experience in Java C++ C C# Python VB Javascript HTML
44910485
Type Your Programming Question Here...
ATLPROG is online now
A new question is answered every 9 seconds

Program #1 * * Function: Simple Java application to

Customer Question

Program #1
*
* Function: Simple Java application to demonstrate the behavior of different data types,
* arithmetic, concatenation, and output of results.
*
* Programmed By: Sanjay Sharma , Student (June 07, 2016)
*
* Based upon code Taken From: "Java Programming" by Joyce Farrell
*
*/
public class Program1_Sanjay
{
public static void main(String[] args)
{
int xx = 315;
short xx = 23;
long xx = 1234567876543L;
int value1 = 43, value2 = 10, sum, difference, product, quotient, modulus;
boolean isProgrammingFun = true;
double doubNum1 = 2.3, doubNum2 = 14.8, doubResult;
char myGrade = 'A', myFriendsGrade = 'C';
System.out.println("Our grades are " + myGrade + " and " + myFriendsGrade);
doubResult = doubNum1 + doubNum2;
System.out.println("The sum of the doubles is " + doubResult);
doubResult = doubNum1 * doubNum2;
System.out.println("The product of the doubles is " + doubResult);
System.out.println("The value of isProgrammingFun is " + isProgrammingFun);
System.out.println("The value of isProgrammingHard is " + isProgrammingFun);
System.out.println("The int is " + oneInt);
System.out.println("The short is " + oneShort);
System.out.println("The long is " + oneLong);
sum = value1 + value2;
difference = value1 - value2;
product = value1 * value2; quotient = value1 / value2;
modulus = value1 % value2;
System.out.println("Sum is " + sum);
System.out.println("Difference is " + difference);
System.out.println("Product is " + product);
System.out.println("Quotient is " + quotient);
System.out.println("Modulus is " + modulus);
System.out.println("\nThis is on one line\nThis on another");
System.out.println("This shows\thow\ttabs\twork");
} // end method main
} // end class Program1_Sanjay
JA: Sometimes things that you think will be really complicated end up being easy to fix. The Programmer I'm going to connect you with knows all the tricks and shortcuts. Is there anything else important you think the Programmer should know?
Customer: Errors to solved
JA: OK. Got it. I'm sending you to a secure page on JustAnswer so you can place the $5 fully-refundable deposit now. While you're filling out that form, I'll tell the Programmer about your situation and then connect you two.
Submitted: 6 months ago.
Category: Programming
Expert:  LogicPro replied 6 months ago.

Hi

Expert:  LogicPro replied 6 months ago.

Welcome

Hope you are doing well.

Zip all files; upload the zipped file to http://wikisend.com or http://ge.tt and post download link here.

What is the deadline?

Expert:  LogicPro replied 6 months ago.

there?