public class 4by4Square
{
public static void main(){
System.out.println("xxxx \nx x\nx x\nxxxx");
}
}
<h2><u>~CaptnCoderYankee</u></h2>
Answer:
#include <stdio.h>
int main() {
const float square_feet;
printf("Enter area in square feets: ");
// reads and stores input area
scanf("%f", &square_feet);
float acres= square_feet/43560;
// displays area in acres
printf("area in acres is: %.2f", acres);
return 0;
}
Explanation:
code is in C language.
double slashed '//' lines are not code but just comments to understand what it mean in code or for explanation purpose
<span>C. Rulers indicate the margins, tabs, and indents in a presentation slide.
</span>
Answer:
The expression on line 9 required 2 brackets
Explanation:
Given
The attached code
Required
Why syntax error.
The error points to line 10, but the error is actually from line 9
To get an integer input, the syntax is:
variable-name = int(input("Prompt"))
From the attached code, the line 9 is:
amount = int(input("Enter cheese order weight: ")
By comparing the syntax to the actual code on line 9, only 1 of the brackets is closed.
<em>This, in Python 3 is a sytax error</em>
Answer:
A: used by ISP's to filter out email SPAM
C: a way to help an individual focus on best choices when deciding what to watch or buy.
Explanation:
Collaborative filtering uses a community-based approach to filter spam. It works by collecting numerous email users from around the world. By doing this, it becomes possible for users to flag emails that are spam and those that are legitimate.
Also Collaborative Filtering is one of the most efficient techniques for building a system that can help a user when it comes to recommending best choices based on information from a large number of users.