package com.codegym.task.task01.task0121;
/*
Contract
*/
public class Solution {
public static void main(String[] args) {
System.out.print("My name is Amigo");
System.out.println();
System.out.println("I agree to wages of $5000/month in the first year.");
System.out.println("I agree to wages of $5500/month in the second year.");
System.out.println("I agree to wages of $7000/month in the third year.");
System.out.println("I agree to wages of $8000/month in the fourth year.");
System.out.println("I agree to wages of $10000/month in the fifth year.");
System.out.println();
System.out.println("Kiss my shiny metal rear actuator!");
}
}
what is the problem in this code?
Under discussion
Comments (1)
- Popular
- New
- Old
You must be signed in to leave a comment
Ankush Rajput
28 September 2018, 14:12
Compare the task output carefully as given in question.
In first sentence, "My name is Amigo.", fullstop(.) is missing from your program. Add it.
0