c/c+ also java would be one
Answer:
Not 100% sure but I think it is either to solve things that people use or improve things that people use
Explanation:
Answer: Cognitive
Explanation:
According to the question, the Ryan shows cognitive attitude towards the HDTV. The cognitive component basically refers to the three main components that are:
- Thoughts
- Beliefs
- Attributes
The cognitive component is one of the type of attitude which basically consist of various types of thoughts, knowledge and the beliefs towards the any type of object. It is one of the belief and opinion of the attitude.
Answer:
<u>Output</u>
The values read are:
25
3
4
65
7
9
5
6
1
11
10 data values were read
Explanation:
Below is the Java program to read all data from the file echoing the data to standard output and finally displaying how many data were read:-
import java.io.File;
import java.io.FileNotFoundException;
import java.util.Scanner;
public class MyFileReader {
public static void main(String[] args){
int num,counter=0;
File file=new File("numbers.txt");
try {
Scanner input=new Scanner(file);
System.out.println("The values read are: ");
while(input.hasNext()){
num=input.nextInt();
System.out.println(num);
counter+=1;
}
System.out.println(counter+" data values were read");
} catch (FileNotFoundException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
}