This week's book giveaway is in the Functional programming forum.
We're giving away four copies of A Functional Approach to Java: Augmenting Object-Oriented Java Code with Functional Principles and have Ben Weidig on-line!
See this thread for details.
  • Post Reply Bookmark Topic Watch Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Peter Rooke
  • Himai Minh
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This page was migrated from a javaranch.com.jsp


   
   
     
   
   
     
   
 


Assignment Java-5 (Times)
Purpose:  To learn how to convert integers to strings, how to format text, how to use nested loops.
 

Write a program that (algorithmically) shows a times table.


 

In other words, I want to type


 
 

and see


 
 

To do this, you will need to know how to:


 
 

You may also need to


 
 

Instructor's solution:


 
    28 lines


After you have tied up this assignment, lasso the next one:
 Assignment Java-6 (Grains)










Page maintained by
Marilyn de Queiroz

 
    Bookmark Topic Watch Topic
  • New Topic