Please help me write this Java code:
Use the template Code1.java (see below)
Download Code1.java to write your code. In your Mainmethod, ask the user the following questions:
Then print out the following sentence.
There are <males + females> adult members in<name>'s <ward name> ward.
Important Notes:
Example Run:
The following will be considered when grading yourprogram:
File: Code1.java
/* * Program: Code 1 * Name: * Date: dd/mm/yyyy * Description: Strings */ package week14;public class Code1 { public static void main(String[] args) { }//end of main()}//end of class Code1
Please help me write this Java code: Use the template Code1.java (see below) Download Code1.java to write your code. In
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Please help me write this Java code: Use the template Code1.java (see below) Download Code1.java to write your code. In
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!