Explanation:
Start
Input dollars
Set Euros = 0.91 * dollars
Set Yens = 109.82 * dollars
Output Euros
Output Yens
Stop
Note: The rates are as of 07-Feb-2020
Answer:
#include <iostream>
#include <array>
using namespace std;
bool isPalindrome(string str)
{
int length = str.length();
for (int i = 0; i < length / 2; i++)
if (toupper(str[i]) != toupper(str[length - 1 - i]))
return false;
return true;
}
int main()
{
array<string, 6> tests = { "madam", "abba", "22", "67876", "444244", "trymEuemYRT" };
for (auto test : tests) {
cout << test << " is " << (isPalindrome(test) ? "" : "NOT ") << "a palindrome.\n";
}
}
Explanation:
The toupper() addition forces characters to uppercase, thereby making the comparison case insensitive.
The answer is C, ROM often stores the basic instructions a computer needs when powering on, part if the BIOS.
Answer:
The correct answer to the following question will be "A spreadsheet".
Explanation:
- A spreadsheet is a software device used to access and stores data from such a database. The interaction between separate entities (in separate tables) is controlled by their specific columns.
- It's a programming program for arranging, evaluating and storing data in tabular format.
- The spreadsheets have been developed as computer-controlled analogs to paper reporting worksheets. The system runs on data decided to enter in table cells.
Therefore, a Spreadsheet is the right answer.