assignment in OOP1

assignment in OOP1

Filename:

CharCount.java

Instructions:

  1. Ask a user to input a string

  2. Program should determine the number of occurrences of the letters

contained on the input string based on the English alphabet.

Note: Treat every character as uppercase characters numeric.

Numeric characters are omitted.

Sample Implementation:

Input: Object Oriented Programming 1

Output:

A ? 1 F ? 0 K ? 0 P ? 1 U - 0 Z - 0

B ? 0 G ? 1 L ? 0 Q ? 0 V - 0

C ? 0 H ? 0 M ? 2 R ? 3 W - 0

D ? 1 I ? 2 N ? 2 S ? 0 X ? 0

E ? 3 J ? 0 O ? 3 T ? 2 Y ? 0

TECHNICAL DESCRIPTION:

The program should contain three (3) methods, namely:

  1. main Method

  2. method where implementation and execution takes place

  3. inputValue Method

  4. method that will be invoked to execute the string input

  5. displayChar Method

  6. method that will be invoked to execute the displaying of the

characters and their occurrence

View Answers









Related Tutorials/Questions & Answers:
assignment in OOP1
assignment in OOP1  Filename: CharCount.java Instructions:ADS_TO_REPLACE_1 Ask a user to input a string Program should determine the number... - 0ADS_TO_REPLACE_4 B ? 0 G ? 1 L ? 0 Q ? 0 V - 0 C ? 0 H ? 0 M ? 2 R ? 3 W - 0
Assignment
Assignment  any one can help with a java assignment
Advertisements
Assignment problem
Assignment problem  hello, I am designing a program partaining job assingment using hungarian algorithm,but i am totally confused, please help me out
my assignment
...this is my assignment....plz
Programming Assignment
Programming Assignment  Hey there, We were given an assignment to write a program to read 10 student marks from the keyboard without using an Array (only using switch statements, if statements or loops). As each mark is input
assignment
Assignment
assignment
assignment
ModuleNotFoundError: No module named 'assignment'
ModuleNotFoundError: No module named 'assignment'  Hi, My Python... 'assignment' How to remove the ModuleNotFoundError: No module named 'assignment' error? Thanks   Hi, In your python environment you
Assignment of variables - JSP-Servlet
Assignment of variables  How to assign a javascript variable value to a java string variable. .... var strName="Tarunkanti Kar"; .... ... I want to access the script variable in java variable please give
Java with OOP assignment (Eclipse)
Java with OOP assignment (Eclipse)  How do i control the length of characters in an input? E.g.: Enter your name > Hi * Name too short
assignment of variables - JSP-Servlet
assignment of variables  How to assign a javascript variable value to a java string variable. .... var strName="Tarunkanti Kar"; .... ... I want to access the script variable in java variable please give
java assignment - Java Beginners
java assignment  I got assignment in "design a vehicle class hierarchy in java,write a test program to demonstrate polymorphism".please send me the necessary codings and algorithm.  Hi Friend, Try the following code
Assignment Question on java programming
Assignment Question on java programming  Can somone help me on this . Thx You are required to write a complete Java program for a simple grading system. At the beginning of the system, you need to input number of students
Urgent programming assignment
Urgent programming assignment   Hi, I am an Indian student in USA.I have been able to write all the java codes successfully , however this one is giving me tremors.Any help would be highly appreciated.I am attaching
Java assignment of variables - JSP-Servlet
Java assignment of variables   .... var strName="Tarunkanti Kar"; .... ... I want to access the script variable in java variable please give the code
Assignment operator in java
Assignment operator in java Assignment operator is very common to almost all... the value to the variable lying on the left side. Java assignment operator... to be assigned to the variable to the left side. Assignment operator is also used
ModuleNotFoundError: No module named 'distributions-udacity-assignment'
ModuleNotFoundError: No module named 'distributions-udacity-assignment' ...: ModuleNotFoundError: No module named 'distributions-udacity-assignment' How to remove the ModuleNotFoundError: No module named 'distributions-udacity-assignment'
ModuleNotFoundError: No module named 'django-assignment-desk'
ModuleNotFoundError: No module named 'django-assignment-desk'  Hi...: No module named 'django-assignment-desk' How to remove the ModuleNotFoundError: No module named 'django-assignment-desk' error? Thanks   Hi
ModuleNotFoundError: No module named 'django-assignment-desk'
ModuleNotFoundError: No module named 'django-assignment-desk'  Hi...: No module named 'django-assignment-desk' How to remove the ModuleNotFoundError: No module named 'django-assignment-desk' error? Thanks   Hi
ModuleNotFoundError: No module named 'distributions-udacity-assignment'
ModuleNotFoundError: No module named 'distributions-udacity-assignment' ...: ModuleNotFoundError: No module named 'distributions-udacity-assignment' How to remove the ModuleNotFoundError: No module named 'distributions-udacity-assignment'
ModuleNotFoundError: No module named 'django-assignment-desk'
ModuleNotFoundError: No module named 'django-assignment-desk'  Hi...: No module named 'django-assignment-desk' How to remove the ModuleNotFoundError: No module named 'django-assignment-desk' error? Thanks   Hi
ModuleNotFoundError: No module named 'django-assignment-desk'
ModuleNotFoundError: No module named 'django-assignment-desk'  Hi...: No module named 'django-assignment-desk' How to remove the ModuleNotFoundError: No module named 'django-assignment-desk' error? Thanks   Hi
ModuleNotFoundError: No module named 'odoo9-addon-openeducat-assignment'
ModuleNotFoundError: No module named 'odoo9-addon-openeducat-assignment' ...: ModuleNotFoundError: No module named 'odoo9-addon-openeducat-assignment' How to remove the ModuleNotFoundError: No module named 'odoo9-addon-openeducat-assignment'
ModuleNotFoundError: No module named 'acs_examine_student_assignment'
ModuleNotFoundError: No module named 'acs_examine_student_assignment' ...: No module named 'acs_examine_student_assignment' How to remove the ModuleNotFoundError: No module named 'acs_examine_student_assignment' error
ModuleNotFoundError: No module named 'django-assignment-desk'
ModuleNotFoundError: No module named 'django-assignment-desk'  Hi...: No module named 'django-assignment-desk' How to remove the ModuleNotFoundError: No module named 'django-assignment-desk' error? Thanks   Hi
ModuleNotFoundError: No module named 'keystone-json-assignment'
ModuleNotFoundError: No module named 'keystone-json-assignment'  Hi...: No module named 'keystone-json-assignment' How to remove the ModuleNotFoundError: No module named 'keystone-json-assignment' error? Thanks  
Assignment Operators in java 7
Assignment Operators in java 7 In this section you will learn about the Assignment Operators. This is one type of operators. Assignment Operators... to the variable by using any assignment operator. Your variables are placed
Simple Assignment Operator
Simple Assignment Operator       Assignment operator... lying to the left side of the assignment operator. But, If the value already
PHP Assignment Operators
Assignment Operator: We  have used the basic assignment operator in our life but a confusion may occur between an "assignment operator"... these are not. In the following examples different types of assignment operators
JAVA assignment
java assignment
ModuleNotFoundError: No module named 'django-validate-model-attribute-assignment'
-assignment'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'django-validate-model-attribute-assignment...-model-attribute-assignment' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'django-validate-model-attribute-assignment'
-assignment'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'django-validate-model-attribute-assignment...-model-attribute-assignment' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'django-validate-model-attribute-assignment'
-assignment'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'django-validate-model-attribute-assignment...-model-attribute-assignment' error? Thanks   Hi, In your python
Java with OOP assignment (Eclipse) - Java Beginners
Java with OOP assignment (Eclipse)  "THREE Ts GAME" *Description* A "tic-tac-toe" game is a two player's board game where the game board.... In this assignment, you are required to write both the "tic-tac-toe" and "toe-tac-tic
i have problem in that program to my assignment sir - JavaMail
i have problem in that program to my assignment sir   Develop a programmer's editor in Java that supports syntax-highlighting, compilation support, debugging support, etc
assignment - Java Beginners
Week 7 - Assignment
sir i,have a assignment for these question plz help me sir - JavaMail
sir i,have a assignment for these question plz help me sir   1.Design a Java interface for ADT Stack. Develop two different classes that implement this interface, one using array and the other using linked-list. Provide
sir i,have a another assignment for these question plz help me sir - JavaMail
sir i,have a another assignment for these question plz help me sir  1. Design classes for Currency, Rupee, and Dollar. Write a program that randomly generates Rupee and Dollar objects and write them into a file using object
I really need help with this assignment question Please help me out Please
I really need help with this assignment question Please help me out Please  * Description* You are hired to develop a laptop inventory information system for Sheridan College in order to keep track of the information about
Identify correct and incorrect statements or examples about the rules and semantics for relationship assignment and relationship updating in a CMP bean.
Identify correct and incorrect statements or examples about the rules and semantics for relationship assignment and relationship updating... for relationship assignment and relationship updating in a CMP bean. The assignment
pls i need help with my assignment
Masters of Java Assignment Plugin
Masters of Java Assignment Plugin  ... : New Masters of Java Assignment Wizard which sets up project structure with all the required files for an assignment, including icons. Test Runner which
Java Operators
Java Operators       Simple Assignment Operator Assignment operator is the most common operator almost used with all programming languages.  
PHP Operators
3.5. PHP Operators Operators are used for performing specific tasks. The operators in PHP are same like other programming languages like Arithmetic operators, Assignment Operators, Comparison Operators, and logical operators. 3.5.1.
Fleet management vehicle tracking system in India
Fleet management vehicle tracking system in India are generally GPS based, the most widely used tracking technology. It helps the fleet manger in his day-to-day work, be it the assignment of the work, or keeping the record and data
Java
Java  what is the difference between argument and assignment

Ads