1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Yuki888 [10]
3 years ago
9

What is java script of french flag​

Computers and Technology
1 answer:
Molodets [167]3 years ago
7 0

This depends if you are using a specific app for JavaScript, (such as Grasshopper) but I think this would work.

var rectWidth = getWidth() / 3;

var rectHeight = getHeight();

var blueRect = new Rectangle(rectWidth, rectHeight);

blueRect.setPosition(0, 0);

blueRect.setColor(Color.blue);

add(blueRect);

var redRect = new Rectangle(rectWidth, rectHeight);

redRect.setPosition(rectWidth * 2, 0);

redRect.setColor(Color.red);

add(redRect);

You might be interested in
What is the answer to 7.4.4: Length of User's Name codehs
Alik [6]

The program that ask the user to type there first name and then print out how many letters that is in there name is as follows:

x = input("what is your first name: ")

y = len(x)

print(f"There are {y} letters in your name")

<h3>Code explanation;</h3>

The code is written in python.

  • Firstly, we store the users name in the variable x.
  • Then, we find the length of the users inputted name and store it in a variable y.
  • Finally, we print the length of the users name using the print function.

learn more on python here: brainly.com/question/26738945

4 0
3 years ago
What are keyboard skills?<br><br> For test
Reptile [31]

Answer: Letter recognition

Fine motor skills

Isolated use of each finger

Bilateral coordination (using two hands together)

Eye-hand coordination

Explanation:

5 0
3 years ago
Read 2 more answers
Design pseudocode for a program that will permit a user to store exactly 50 numbers in an array. Create an array big enough to h
galben [10]

Answer:

#include<stdio.h>

//declare a named constant

#define MAX 50

int main()

{

   //declare the array

   int a[MAX],i;

   //for loop to access the elements from user

   for(i=0;i<MAX;i++)

   {

      printf("\n Enter a number to a[%d]",i+1);

      scanf("%d",&a[i]);

  }

  //display the input elements

  printf("\n The array elements are :");

  for(i=0;i<=MAX;i++)

  printf(" %d ",a[i]);

}

Explanation:

PSEUDOCODE INPUTARRAY(A[MAX])

REPEAT FOR I EQUALS TO 1 TO MAX

PRINT “Enter a number to A[I]”

READ A[I]

[END OF LOOP]

REPEAT FOR I EQUALS TO 1 TO MAX

PRINT A[I]

[END OF LOOP]

RETURN

ALGORITHM

ALGORITHM PRINTARRAY(A[MAX])

REPEAT FOR I<=1 TO MAX

PRINT “Enter a number”

INPUT A[I]

[END OF LOOP]

REPEAT FOR I<=1 TO MAX

PRINT A[I]

[END OF LOOP]

6 0
3 years ago
As the senior analyst responsible for data staging, you are responsible for the design of the data staging area. If your data wa
adelina 88 [10]

Answer:

The corresponding schemas I use such as given below.

Explanation:

  • <u>Dim</u>: Used in the design for certain artifacts belonging to measurements.
  • <u>Fact</u>: Used for these artifacts throughout the design relevant to the truth
  • <u>Admin</u>: Used for all configuration-related artifacts that could be open to professional end-users.
  • <u>Audit</u>: That used to hold audit-related particles.
  • <u>Etl</u>: Is used for keeping objects, particularly staging details, directly connected to something like the ETL method.
  • <u>Report</u>: Used to keep objects utilized explicitly for programs for documentation.
  • <u>Olap</u>: Used for keeping objects directly used for systems for study.
  • <u>Test</u>: Used to carry objects which have been used exclusively for research.
  • <u>Useful</u>- Used to carry objects that just about any member including its implementation may typically use.
3 0
3 years ago
3. Write a program that has the user enter two Strings. Display whether the first String is less than (comes first alphabeticall
Citrus2011 [14]

Answer:

The solution code is written in Python 3

  1. firstStr = input("Enter first string: ")
  2. secondStr = input("Enter second string: ")
  3. if(firstStr < secondStr):
  4.    print("The first string comes first alphabetically.")
  5. elif(firstStr > secondStr):
  6.    print("The second string comes first alphabetically.")
  7. else:
  8.    print("The first and second string are same")

Explanation:

Firstly, prompt the user to input two strings (Line 1 - 2).

Next create if else if statement to check if the firstStr is less than, greater than or equal to the secondStr and then print the appropriate message accordingly (Line 4- 9). For example, the program display message "The first string comes first alphabetically." if it find the firstStr is less than secondStr.

4 0
3 years ago
Other questions:
  • To use the Save As command, click on the __________tab to open the backstage view.
    13·1 answer
  • Jason is working on a project that requires him to manage a huge amount of data. The spreadsheet he is working on has data relat
    12·1 answer
  • Universal Containers is tracking the interviewer's ratings of candidate in Salesforce. They would like to easily link the Candid
    5·1 answer
  • Your employer's right to electronically monitor you is an issue of ____.
    13·1 answer
  • In the design phase of the systems development life cycle (SDLC), the _____ design is an overview of the system and does not inc
    10·1 answer
  • 1)When the liquid is spun rapidly, the denser particles are forced to the bottom and the lighter particles stay at the top. This
    10·1 answer
  • Write the definition of a class Phone containing: 1. A data member named model of type string. 2. A data member named partNumber
    11·1 answer
  • I need help plz it’s python
    6·1 answer
  • Eric would like to have a callout text box that makes it look as if the character in an image is speaking. Which object should h
    12·2 answers
  • Chapter 20 reading and vocab review
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!