Mac OS came out in 2001. This is software that was created by Apple to run the "Mac Computers." This software is still used to this day.
MS-DOS came out in 1981. This is software that was created by Microsoft to run x86 computers. This software is no longer used.
Windows New Technology came out in 1985. This is software that was created by Microsoft to run a ton of different computers. This software is still used to this day.
Windows Vista came out in 2006. This software that was created by Microsoft to run a variety of personal computers. This software is no longer used.
By the information given, Windows Vista was the last to be released.
Best of Luck!
Answer:
The output of the given code as follows:
Output:
Area is: 12.60676
Explanation:
In the given code some information is missing so, the correct code to this question can be described as follows:
Program:
public class Test //defining class
{
public static void main(String[] args)//defining the main method
{
double radius= 2; //defining double variable radius
final double PI= 3.15169; //defining double variable PI
double area = radius * radius * PI; //defining double variable area that calculates values
System.out.println("Area is: " + area); //print values
}
}
Explanation:
- In the given java code a class "Test" is defined, in which a double variable "radius" is defined, which holds a value, that is 2.
- In the next step, a double constant variable, that is PI is defined, that holds a value, that is "3.15169".
- Then another double variable area is defined, that calculates the area value, and prints its value.
Answer:
Begin the statement with the proper keyword to start the loop
Explanation:
Given
The code segment
Required
Fix the code
The first line of the code segment is meant to be a for loop, but it does follow the right syntax.
This is so because the for keyword is missing.
The first line should be corrected and replaced with:
for count in range(80):
Hence, option (b) is correct
When someone asks that do not answer or say you do not feel comfortable telling them
Answer:
#include <iostream>
using namespace std;
int main()
{
string str;
cout<<"Enter the string: ";
cin>>str;
for(int i=0;str[i]!='\0';i++){
if(str[i]=='e'){
str[i]='x';
}
}
cout<<"the string is: "<<str<<endl;
return 0;
}
Explanation:
First, include the library iostream for using the input/output instructions.
Create the main function and declare the variables.
Then, use the cout instruction and print the message on the screen.
cin store the string enter by the user into a variable.
After that, take a for loop and if-else statement for checking the condition if the string contains the 'e', then change that alphabet to 'x'.
This process continues until the string not empty.
Finally, print the updated string.