Answer:
// program in java.
// package
import java.util.*;
// class definition
class Main
{// main method of the class
public static void main (String[] args) throws java.lang.Exception
{
try{
// scanner object to read inputs
Scanner scr=new Scanner(System.in);
// variables
String name;
double price;
System.out.print("Enter item's name: ");
// read item's name
name = scr.next();
System.out.print("Enter item's price: ");
// read item's price
price= scr.nextDouble();
// print name
System.out.println("name of item is:"+name);
// print price
System.out.println("price of item is:"+price);
}catch(Exception ex){
return;}
}
}
Explanation:
Read name & price of item from user and assign it to variables "name" & "price" respectively with scanner object.Then print the name and price of item .
Output:
Enter item's name: Apple
Enter item's price: 100
name of item is:Apple
price of item is:100.0
Answer:
So where the question????????
Embedded computers usually are small and have limited hardware but enhance the capabilities of everyday devices is a True statement.
<h3>Are embedded computers small?</h3>
Embedded computers are known to be machine that is said to be in smaller form of their factor motherboards. An example is Mini-ITX .
Note that there are lot of Different forms of embedded computers that has their specific innovative enclosure designs.
Therefore, based on the above, Embedded computers usually are small and have limited hardware but enhance the capabilities of everyday devices is a True statement.
Learn more about Embedded computers from
brainly.com/question/9706390
#SPJ1
Answer:
4 is the valency of carbon
because it has 4 valence electrons
hope it helps