int age;
do{
String input = JOptionPane.showInputDialog("Please enter a value for age");
age = Integer.parseInt(input);
}while(age<=0);
The general for of the do-while statement is:
do
statement
while(condition);
int age;
do{
String input = JOptionPane.showInputDialog("Please enter a value for age");
age = Integer.parseInt(input);
}while(age<=0);
do
statement
while(condition);
Group K-Learn4U computer language like human talk to chicken....means we cannot understand each other....only them can understand each other.
In my understanding from the group presentation, they said computer language have fifth generation language. Their group also show the class example of computer language and the are talking about real things when said human never understand what chicken is talking. Computer language just represents number and the number represents information! So amazing! The lower programming language is better for focus on curtain task..
The term computer language includes a wide variety of languages used to communicate with computers. It is broader than the more commonly-used termprogramming language. Programming languages are a subset of computer languages. For example, HTML is a markup language and a computer language, but it is not traditionally considered a programming language. Machine code is a computer language. It can technically be used for programming, and has been (e.g. the original bootstrapper for Altair BASIC), though most would not consider it a programming language.
Computer languages can be divided into two groups: high-level languages and low-level languages. High-level languages are designed to be easier to use, more abstract, and more portable than low-level languages. Syntactically correct programs in some languages are then compiled to low-level language and executed by the computer. Most modern software is written in a high-level language, compiled into object code, and then translated into machine instructions.
Computer languages could also be grouped based on other criteria. Another distinction could be made between human-readable and non-human-readable languages. Human-readable languages are designed to be used directly by humans to communicate with the computer. Non-human-readable languages, though they can often be partially understandable, are designed to be more compact and easily processed, sacrificing readability to meet these ends.