Java sample using - for loop, if then else etc etc

Java sample using - for loop, if then else etc etc

sample program to produce summary information on sales report.

The program will input Data of Salesman Id, Item code, and number of cuestomer. Sales id is 5digit long, and items code range from 100-300

if Item code is 100-150, display " aim high" if item code is 150-200, display "good sales" if item code is 250-300, display "excellent sales"

each customer should not purchase 3 items at once

final report should produce folling summary Salesman ID Item code no of customers 12356 100 1 45678 112 2

kindly advise

View Answers









Related Tutorials/Questions & Answers:
Java sample using - for loop, if then else etc etc
Java sample using - for loop, if then else etc etc  sample program to produce summary information on sales report. The program will input Data of Salesman Id, Item code, and number of cuestomer. Sales id is 5digit long
ModuleNotFoundError: No module named 'etc'
ModuleNotFoundError: No module named 'etc'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'etc' How to remove the ModuleNotFoundError: No module named 'etc' error
Advertisements
what is etc profile file in Linux
what is etc profile file in Linux  Hi, I want to know more about the /etc/profile file in Linux. What is the use of /etc/profile file? Thanks   Hi, The profile file: /etc/profile Is very import file in Linux
ModuleNotFoundError: No module named 'django-etc'
ModuleNotFoundError: No module named 'django-etc'  Hi, My Python... 'django-etc' How to remove the ModuleNotFoundError: No module named 'django-etc' error? Thanks   Hi, In your python environment you
open() /etc/nginx/nginx.conf failed
open() /etc/nginx/nginx.conf failed  Hi, I have installed nginx on Ununtu 18.04 but then un installed. After that deleted /etc/nginx/ directory...-VirtualBox nginx[2880]: nginx: [emerg] open() "/etc/nginx/nginx.conf" failed (2
open() /etc/nginx/nginx.conf failed
open() /etc/nginx/nginx.conf failed  Hi, I have installed nginx on Ununtu 18.04 but then un installed. After that deleted /etc/nginx/ directory...-VirtualBox nginx[2880]: nginx: [emerg] open() "/etc/nginx/nginx.conf" failed (2
Square pattern in java using for loop
Square pattern in java using for loop  please explain the logic to program the following using for loop in Java: 1 3 5 7 9 3 5 7 9 1 5 7 8 1 3 7 9 1 3 5 9 1 3 5 7
Square pattern in java using for loop
Square pattern in java using for loop  please explain the logic to program the following using for loop in Java: 1 3 5 7 9 3 5 7 9 1 5 7 8 1 3 7 9 1 3 5 9 1 3 5 7
Square pattern in java using for loop
Square pattern in java using for loop  please explain the logic to program the following using for loop in Java: 1 3 5 7 9 3 5 7 9 1 5 7 8 1 3 7 9 1 3 5 9 1 3 5 7
Square pattern in java using for loop
Square pattern in java using for loop  please explain the logic to program the following using for loop in Java: 1 3 5 7 9 3 5 7 9 1 5 7 8 1 3 7 9 1 3 5 9 1 3 5 7
Square pattern in java using for loop
Square pattern in java using for loop  please explain the logic to program the following using for loop in Java: 1 3 5 7 9 3 5 7 9 1 5 7 8 1 3 7 9 1 3 5 9 1 3 5 7
Square pattern in java using for loop
Square pattern in java using for loop  please explain the logic to program the following using for loop in Java: 1 3 5 7 9 3 5 7 9 1 5 7 8 1 3 7 9 1 3 5 9 1 3 5 7
Square pattern in java using for loop
Square pattern in java using for loop  please explain the logic to program the following using for loop in Java: 1 3 5 7 9 3 5 7 9 1 5 7 8 1 3 7 9 1 3 5 9 1 3 5 7
Square pattern in java using for loop
Square pattern in java using for loop  please explain the logic to program the following using for loop in Java: 1 3 5 7 9 3 5 7 9 1 5 7 8 1 3 7 9 1 3 5 9 1 3 5 7
Square pattern in java using for loop
Square pattern in java using for loop  please explain the logic to program the following using for loop in Java: 1 3 5 7 9 3 5 7 9 1 5 7 8 1 3 7 9 1 3 5 9 1 3 5 7
Square pattern in java using for loop
Square pattern in java using for loop  please explain the logic to program the following using for loop in Java: 1 3 5 7 9 3 5 7 9 1 5 7 8 1 3 7 9 1 3 5 9 1 3 5 7
Square pattern in java using for loop
Square pattern in java using for loop  please explain the logic to program the following using for loop in Java: 1 3 5 7 9 3 5 7 9 1 5 7 8 1 3 7 9 1 3 5 9 1 3 5 7
Square pattern in java using for loop
Square pattern in java using for loop  please explain the logic to program the following using for loop in Java: 1 3 5 7 9 3 5 7 9 1 5 7 8 1 3 7 9 1 3 5 9 1 3 5 7
Square pattern in java using for loop
Square pattern in java using for loop  please explain the logic to program the following using for loop in Java: 1 3 5 7 9 3 5 7 9 1 5 7 8 1 3 7 9 1 3 5 9 1 3 5 7
Square pattern in java using for loop
Square pattern in java using for loop  please explain the logic to program the following using for loop in Java: 1 3 5 7 9 3 5 7 9 1 5 7 8 1 3 7 9 1 3 5 9 1 3 5 7
Square pattern in java using for loop
Square pattern in java using for loop  please explain the logic to program the following using for loop in Java: 1 3 5 7 9 3 5 7 9 1 5 7 8 1 3 7 9 1 3 5 9 1 3 5 7
Square pattern in java using for loop
Square pattern in java using for loop  please explain the logic to program the following using for loop in Java: 1 3 5 7 9 3 5 7 9 1 5 7 8 1 3 7 9 1 3 5 9 1 3 5 7
Square pattern in java using for loop
Square pattern in java using for loop  please explain the logic to program the following using for loop in Java: 1 3 5 7 9 3 5 7 9 1 5 7 8 1 3 7 9 1 3 5 9 1 3 5 7
Square pattern in java using for loop
Square pattern in java using for loop  please explain the logic to program the following using for loop in Java: 1 3 5 7 9 3 5 7 9 1 5 7 8 1 3 7 9 1 3 5 9 1 3 5 7
Square pattern in java using for loop
Square pattern in java using for loop  please explain the logic to program the following using for loop in Java: 1 3 5 7 9 3 5 7 9 1 5 7 8 1 3 7 9 1 3 5 9 1 3 5 7
Square pattern in java using for loop
Square pattern in java using for loop  please explain the logic to program the following using for loop in Java: 1 3 5 7 9 3 5 7 9 1 5 7 8 1 3 7 9 1 3 5 9 1 3 5 7
Square pattern in java using for loop
Square pattern in java using for loop  please explain the logic to program the following using for loop in Java: 1 3 5 7 9 3 5 7 9 1 5 7 8 1 3 7 9 1 3 5 9 1 3 5 7
Square pattern in java using for loop
Square pattern in java using for loop  please explain the logic to program the following using for loop in Java: 1 3 5 7 9 3 5 7 9 1 5 7 8 1 3 7 9 1 3 5 9 1 3 5 7
patterns printing using for loop in java
patterns printing using for loop in java  how to write the code for the pattern as: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
how to add components (like button , checkbox etc) in a table column in core java
how to add components (like button , checkbox etc) in a table column in core java  plz tell me how to add components(like button, checkbox, radiobutton etc)in a table column in core java
[Mini-Project] Develop a programmer's editor in Java that supports syntax highlighting, compilation support, debugging support, etc.
[Mini-Project] Develop a programmer's editor in Java that supports syntax highlighting, compilation support, debugging support, etc.  Please reply me sir
java code using while loop
java code using while loop  
print this image in java code using only loop{for, if, loop}
print this image in java code using only loop{for, if, loop}  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *   
using if and else if statments
using if and else if statments  Hello everyone Hope all are well Just... of the above items without using loops or switch or while Im beginner so only if and nested if and else if This has my head in bits for days I have the below done x6
using for loop
using for loop  what will be the source code of the program that the output will be printing all numbers that is divisible by 3 and 5 sample output: 3 is divisible by 3 5 is divisible by 5 6 is divisible by 3 9 is divisible by 3
fibonacci by using if/else - Framework
fibonacci by using if/else  Fib(n)=0 1 Fib(n-1)+Fib(n-2) if n=0 if n=1 Based on the above Fib() formula,write a C program that uses this main function to produce factorial output: int seriesSize=35 printf("Print
using for loop in javascript
using for loop in javascript  How to use for loop in JavaScript
training and placement of my child who is very much interested in doing jobs of his key interests like java, j2ee, php etc,
training and placement of my child who is very much interested in doing jobs of his key interests like java, j2ee, php etc,  I want my son to be trained in java developing ,how should I go
training and placement of my child who is very much interested in doing jobs of his key interests like java, j2ee, php etc,
training and placement of my child who is very much interested in doing jobs of his key interests like java, j2ee, php etc,  I want my son to be trained in java developing ,how should I go
training and placement of my child who is very much interested in doing jobs of his key interests like java, j2ee, php etc,
training and placement of my child who is very much interested in doing jobs of his key interests like java, j2ee, php etc,  I want my son to be trained in java developing ,how should I go
Display tow dimensional array using one for loop in java
Display tow dimensional array using one for loop in java  Display tow dimensional array using one for loop in java
Display tow dimensional array by matrix form using one for loop in java
Display tow dimensional array by matrix form using one for loop in java  Display tow dimensional array by matrix form using one for loop in java
How to set UILabel text size, color etc.. in XCode
How to set UILabel text size, color etc.. in XCode  How to set UILabel text size (height), color etc.. in XCode
PHP For Loop Function
For loop Function in PHP: In for loop construct there are three parts of For loop, first Initialization part: initialize a variable (we can initialize more than one variable at a time by using comma operator between variables), Condition
the commonly used unix commands like date ls cat etc. are stored in
the commonly used unix commands like date ls cat etc. are stored in  the commonly used unix commands like date ls cat etc. are stored
Alternate facilities of programs, data files, hardware equipment, etc.
Alternate facilities of programs, data files, hardware equipment, etc.  Alternate facilities of programs, data files, hardware equipment, etc. used in case the original one is destroyed, lost or fail to operate is..? 1. Backup
How to disable cut, copy, paste, rename, etc from the Windows Registry ?
How to disable cut, copy, paste, rename, etc from the Windows Registry ?  Hello. I'm trying to create a software in VB.Net to disable the following from a Windows 7 pc. Cut, copy, paste, rename, delete, open, print, share
using variable loop
using variable loop  program to print alphabets from a-z along with ASCII codes of each alphabets in two columns using a character variable loop...can anyone help me
Using while loop to loop through a cursor
Using while loop to loop through a cursor  ... an example on 'Using while loop to loop through a cursor'. The Example create...' with table attribute like field name,data type etc. Create Table Stu
if else condition - Java Beginners
if else condition  Please explain the if else condition in Java programming language

Ads