The writer is very fast, professional and responded to the review request fast also. Thank you.
While the zyLab platform can be used without training, a bit of training may help some students avoid common issues.
The assignment is to get an integer from input, and output that integer squared, ending with newline. (Note: This assignment is configured to have students programming directly in the zyBook. Instructors may instead require students to upload a file). Below is a program that’s been nearly completed for you.
When students are done developing their program, they can submit the program for automated grading.
Matching output exactly, even whitespace, is often required. Change the program to output an ending newline.
System.out.println(userNumSquared);
. Type 2 in the input box and run.The last two test cases failed, due to a bug, yielding only 1 of 3 possible points. Fix that bug.
487828.3426420.qx3zqy7LAB ACTIVITY1.11.1: zyLab training: Basics0 / 3
NumSquared.java
Load default template…123456789101112131415import java.util.Scanner;public class NumSquared { public static void main(String[] args) { Scanner scnr = new Scanner(System.in); int userNum; int userNumSquared; userNum = scnr.nextInt(); userNumSquared = userNum + userNum; // Bug here; fix it when instructed System.out.print(userNumSquared); // Output formatting issue here; fix it when instructed }} Develop modeSubmit modeRun your program as often as you’d like, before submitting for grading. Below, type any needed input values in the first box, then click Run program and observe the program’s output in the second box.Enter program input (optional)Run programInput (from above)trending_flatNumSquared.java(Your program)trending_flatOutput (shown below)Program output displayed here
Coding trail of your workWhat is this?6/29R-F-min:3Feedback?
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.
Read moreEach paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.
Read moreThanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.
Read moreYour email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.
Read moreBy sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.
Read more