Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  loaves.java
Language: JAVA
Code:
import java.util.Scanner;
  public class loaves
  {
         public static void main(String []args)
         {
              Scanner input = new Scanner(System.in);
         
          System.out.println(" Enter loaves of bread: ");
          int loaves = input.nextInt();
          int sand = loaves*25/2;
          System.out.println(" You can make " + sand  + " sandwhich");
          
       }
       
   } 
Comments: