Answer:
css file extension
Explanation:
The question is straightforward and requires a direct answer.
In web design and development, style sheets are written in css.
This implies that they are saved in .css file extension.
Hence, fill in the gap with css
1. P=O START: PRINT PP = P + 5 IFP
<=20 THEN GOTO START: * what is output
Answer:
0
5
10
15
20
Explanation:
P=O should be P=0, but even with this error this is the output.
When P reaches 20 it will execute the loop once more, so 20 gets printed, before getting increased to 25, which will not be printed because then the loop ends.
importance of information
literay to the society
Explanation:
Information literacy is important for today's learners, it promotes problem solving approaches and thinking skills – asking questions and seeking answers, finding information, forming opinions, evaluateing sources, and making decisions fostering successful learners, effective contributors, and confident individuals.What may make it easy for cybercriminals to commit cybercrimes? Select 2 options.
Cybercrimes are not classified as real crimes, only as virtual crimes.
They operate from countries that do not have strict laws against cybercrime.
They are not physically present when the crime is committed.
The United States has no law enforcement that acts against them.
Law enforcement agencies lack the expertise to investigate them.
Answer: They operate from countries that do not have strict laws against cybercrime.
They are not physically present when the crime is committed.
Explanation:
edg
Answer:
They operate from countries that do not have strict laws against cybercrime.
They are not physically present when the crime is committed.
Explanation:
Which of the following is step two of the Five-Step Worksheet Creation Process?
Answer:
Add Labels.
As far as i remember.
Explanation:
Hope i helped, brainliest would be appreciated.
Have a great day!
~Aadi x
Add Labels is step two of the Five-Step Worksheet Creation Process. It helps in inserting the data and values in the worksheet.
What is label worksheet in Excel?A label in a spreadsheet application like Microsoft Excel is text that offers information in the rows or columns around it. 3. Any writing placed above a part of a chart that provides extra details about the value of the chart is referred to as a label.
Thus, it is Add Labels
For more details about label worksheet in Excel, click here:
https://brainly.com/question/14719484
#SPJ2
Create an array of doubles to contain 5 values Prompt the user to enter 5 values that will be stored in the array. These values represent hours worked. Each element represents one day of work. Create 3 c-strings: full[40], first[20], last[20] Create a function parse_name(char full[], char first[], char last[]). This function will take a full name such as "Noah Zark" and separate "Noah" into the first c-string, and "Zark" into the last c-string. Create a function void create_timecard(double hours[], char first[], char last[]). This function will create (write to) a file called "timecard.txt". The file will contain the parsed first and last name, the hours, and a total of the hours. See the final file below. First Name: Noah
Solution :
[tex]$\#$[/tex]include [tex]$<stdio.h>$[/tex]
[tex]$\#$[/tex]include [tex]$<string.h>$[/tex]
void parse[tex]$\_$[/tex]name([tex]$char \ full[]$[/tex], char first[tex]$[],$[/tex] char last[tex]$[])$[/tex]
{
// to_get_this_function_working_immediately, _irst
// stub_it_out_as_below._When_you_have_everything_else
// working,_come_back_and_really_parse_full_name
// this always sets first name to "Noah"
int i, j = 0;
for(i = 0; full[i] != ' '; i++)
first[j++] = full[i];
first[j] = '\0';
// this always sets last name to "Zark"
j = 0;
strcpy(last, full+i+1);
// replace the above calls with the actual logic to separate
// full into two distinct pieces
}
int main()
{
char full[40], first[20], last[20];
double hours[5];
// ask the user to enter full name
printf("What is your name? ");
gets(full);
// parse the full name into first and last
parse_name(full, first, last);
// load the hours
for(int i = 0; i < 5; i++)
{
printf("Enter hours for day %d: ", i+1);
scanf("%lf", &hours[i]);
}
// create the time card
FILE* fp = fopen("timecard.txt", "w");
fprintf(fp, "First Name: %s\n", first);
fprintf(fp, "Last Name: %s\n", last);
double sum = 0.0;
for(int i = 0; i < 5; i++)
{
fprintf(fp, "Day %i: %.1lf\n", i+1, hours[i]);
sum += hours[i];
}
fprintf(fp, "Total: %.1f\n", sum);
printf("Timecard is ready. See timecard.txt\n");
return 0;
}
what does the
command do
Write a SELECT statement that returns these columns from the Orders table: The CardNumber column The length of the CardNumber column The last four digits of the CardNumber columnWhen you get that working right, add the column that follows to the result set. This is more difficult because the column requires the use of functions within functions. A column that displays the last four digits of the CardNumber column in this format: XXXX-XXXX-XXXX-1234. In other words, use Xs for the first 12 digits of the card number and actual numbers for the last four digits of the number.selectCardNumber,len(CardNumber) as CardNumberLegnth,right(CardNumber, 4) as LastFourDigits,'XXXX-XXXX-XXXX-' + right(CardNumber, 4) as FormattedNumberfrom Orders
Answer:
SELECT
CardNumber,
len(CardNumber) as CardNumberLength,
right(CardNumber, 4) as LastFourDigits,
'XXXX-XXXX-XXXX-' + right(CardNumber, 4) as FormattedNumber
from Orders
Explanation:
The question you posted contains the answer (See answer section). So, I will only help in providing an explanation
Given
Table name: Orders
Records to select: CardNumber, length of CardNumber, last 4 digits of CardNumber
From the question, we understand that the last four digits should display the first 12 digits as X while the last 4 digits are displayed.
So, the solution is as follows:
SELECT ----> This implies that the query is to perform a select operation
CardNumber, ---> This represents a column to read
len(CardNumber) as CardNumberLength, -----> len(CardNumber) means that the length of card number is to be calculated.
as CardNumberLength implies that an CardNumberLength is used as an alias to represent the calculated length
right(CardNumber, 4) as LastFourDigits, --> This reads the 4 rightmost digit of column CardNumber
'XXXX-XXXX-XXXX-' + right(CardNumber, 4) as FormattedNumber --> This concatenates the prefix XXXX-XXXX-XXXX to the 4 rightmost digit of column CardNumber
as FormattedNumber implies that an FormattedNumber is used as an alias to represent record
from Orders --> This represents the table where the record is being read.
Which functions do you use to complete Step 3e? Check all that apply.
Animations tab
Animation styles
Design
Lines
Motion Paths
Reordering of animations
Answer: Animations tab
Animation styles
Lines
Motion paths
Explanation: Edg2021
By using your own data, search engines and other sites try to make your web experience more personalized. However, by doing this, certain information is being hidden from you. Which of the following terms is used to describe the virtual environment a person ends up in when sites choose to show them only certain, customized information?
A filter bubble
A clustered circle
A relational table
An indexed environment
Answer:
A filter bubble
Explanation:
Goal: The campus squirrels are throwing a party! Do not ask. They need you to write a method that will determine whether it will be successfull (returns true) or not (returns false). The decision will be based on int values of the two parameters "squirrels" and "walnuts" representing respectively the number of squirrels attending the party and the numbers of walnuts available to them. The rules for making that determination are detailed below. Variables declarations & initialization: Boolean variable named "result", initialized to false. Steps for the code: First, if less than 1 squirrel attends, then "result" is assigned false. Else, we consider the following conditions: If we have less than, or exactly, 10 squirrels attending: Then: If we have less than 15 walnuts, Then: "result" is set to false. Else: if we have less than, or exactly, 30 walnuts Then: "result" is set to true. Else: "result" is set to false. Else: If less than, or exactly, 30 squirrels are attending Then: If the number of walnuts is more or equal to twice the number of squirrels attending Then: "result" is set to true Else: "result" is set to false Else: If the number of walnuts is equal to 60 plus the number of squirrels attending minus 30 Then: "result" is set to true Else: "result" is set to false
Answer:
Following are the code to the given question:
#include<iostream>// header file
using namespace std;
int main()//main function
{
int squirrels, walnuts;//defining integer variable
bool result = false; //defining a bool variable that holds a false value
cout<<"Enter the number of squirrels"<<endl;//print message
cin>>squirrels; // input integer value
cout<<"Enter the number of walnuts"<<endl;//print message
cin>>walnuts; // input integer value
if(squirrels < 1)//use if variable that checks squirrels value less than 1
{
result = false;//use result variable that holds false value
}
else//defining else block
{
if(squirrels <= 10)//use if variable that checks squirrels value less than equal to 10
{
if(walnuts < 15) //use if variable that checks walnuts value less than 15
result = false;//use result variable that holds false value
else if(walnuts <= 30)//use elseif block that checks walnuts less than equal to 30
result = true; //use result variable that holds true value
else //defining else block
result = false;//use result variable that holds false value
}
else if(squirrels <= 30)//use elseif that checks squirrels value less than equal to 30
{
if(walnuts >= 2*squirrels) //use if block to check walnuts value greater than equal to 2 times of squirrels
result = true; //use result variable that holds true value
else//defining else block
result = false;//use result variable that holds false value
}
else if(walnuts == 60 + squirrels - 30)//using elseif that checks walnuts value equal to squirrels
result = true;//use result variable that holds true value
else //defining else block
result = false;//use result variable that holds false value
}
if(result)//use if to check result
cout<<"True";//print True as a message
else //defining else block
cout<<"False";//print False as a message
return 0;
}
Output:
Enter the number of squirrels
10
Enter the number of walnuts
30
True
Explanation:
In this code, two integer variable "squirrels and walnuts" and one bool variable "result" is declared, in which the integer variable use that input the value from the user-end, and inside this the multiple conditional statements is used that checks integer variable value and use the bool variable to assign value as per given condition and at the last, it uses if block to check the bool variable value and print its value.