Answer:
The program in Python is as follows:
firstName = []
lastName = []
while True:
fName = input("First Name: ")
lName = input("Last Name: (Enter to quit): ")
if not lName:
break
firstName.append(fName)
lastName.append(lName)
for i in range(len(firstName)):
print(firstName[i] . lower()+"."+lastName[i] . lower()+" mycollege . edu")
Explanation:
See attachment for complete source file where comments are used as explanation
Answer:
where are the options for the question
That would be the <span>Cumalitive Index to Nursing and Allied Health Literature.</span>
<span>Consider
the cement used for the foundation; the bricks and timber used for the
walls; and the shingles used for the roof. All of these are __________
in making the house.
A. Elements</span>
Answer:
import java.util.Scanner;
import java.lang.*;
class Main
{
public static void main(String args[])
{
int n;
//For capturing the value of n
Scanner scanner = new Scanner(System.in);
System.out.println("Enter the value of n:");
//The entered value is stored in the var n
n = scanner.nextInt();
int k=1;
printnum(n,k);
}
public static void printnum(int n,int k)
{
if(n%2==0)
{
for(int i=k;i<=n-1;i=i+2)
{
System.out.print(i);
}
System.out.println("");
}
else
{
for(int i=k;i<=n-1;i=i+2)
{
System.out.print(i);
}
System.out.println("");
}
n--;
if(n<=1)
{
System.exit(0);
}
else
{
printnum(n,k+1);
}
}
}
Explanation:
The program is self explanatory.