-- hot-air balloon
-- Zeppelin
-- dirigible
-- blimp
Anything that's lifted off the ground with a big gas bag.
Answer:
Explanation:
The following code is written in Java and it asks you for your age and then prints out the exact date from your birthday that you will turn 10,000 days old.
import java.util.Calendar;
import java.util.Date;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
System.out.println("What is your age?");
int age = in.nextInt();
int daysLeft = (10000 - (age*365));
Date birthday = new Date();
Calendar cal = Calendar.getInstance();
cal.setTime(birthday);
cal.add(Calendar.DATE, daysLeft);
Date modifiedDate = cal.getTime();
System.out.println(modifiedDate);
}
}
Answer:
#include <bits/stdc++.h>
using namespace std;
string value(int i)//function return the string of the integer..
{
if(i==0)
return "Zero";
if(i==1)
return "One";
if(i==2)
return "Two";
if(i==3)
return "Three";
if(i==4)
return "Four";
if(i==5)
return "Five";
if(i==6)
return "Six";
if(i==7)
return "Seven";
if(i==8)
return "Eight";
if(i==9)
return "Nine";
}
int main() {
int n,a[100],c=0;
cout<<"Enter the integer"<<endl;
cin>>n;//taking input of n..
while(n>0)//storing the integer in the array in reverse order..
{
int digit=n%10;
a[c++]=digit;
n/=10;
}
int s=0,e=c-1;
while(s<=e)//reversing the array.
{
int temp=a[s];
a[s]=a[e];
a[e]=temp;
s++;
e--;
}
for(int i=0;i<c;i++)//printing the string according to the number..
{
cout<<value(a[i])<<" ";
}
cout<<endl;
return 0;
}
Output:-
Enter the integer
230
Two Three Zero
Explanation:
I have created a function which returns string according to the integer.So i have taken an array to store the digits of the number and reversing it so the number is stored as it is in the array.Then printing the numbers accordingly.
Answer:
true-ish
Explanation:
WAN= wide area network
LAN= local area network
it could be considered a wide area network, but not necessarily. The internet is it's own type of connection, so I'm not quite sure if it would be considered something else or WAN.
Answer:
The <u>alink (active link)</u> color appears while the mouse is clicking the link. The <u>vlink (visited link)</u> is the color of the link after the user has already visited it.