Answer:
So the first one i think is A. The second is 2, and that i do know
Explanation:
Your question wasn't very clear, but I think I understand what you want. Additionally, you should really state what language you're working with. Here it is in C#, and shouldn't be too much of a hassle to translate in to other languages.
Console.Write("Enter payment: ");
float payment;
if (float.TryParse(Console.ReadLine(), out payment))
Console.WriteLine((Math.Floor(payment * 100) / 100) * 0.15, + " at 15% tip.");
else
Console.WriteLine("Invalid input.");
Files and email messages sent over the internet are broken down into smaller pieces called packets
Based on the definition which states it is an indicator of oxidation of an atom in a chemical compound. I believe the most viable answer is the charge of an atom's ion.
Answer:
see explaination
Explanation:
I made use of python program to solve this.
text file name with fun.txt.
6 fun. 3 hello 10 <> 2 25 4 wow!
Program code:
import re
file = open('fun.txt','r') #for reading file
strings="" #declaring empty string
for k in file:
strings=strings+k #all character in file is storing in strings variable for do operations
pattern = '\s' #for pattern \s is for space
result = re.split(pattern, strings) #split the string with space
for k in range(len(result)): #loop through the list of string
if(k%2) == 0: #checking for integer to time of string
p=int(result[k])
print(result[k+1] *p) #print times of the string(k+1)
Check attachment for output