Create your own color theme
Goal

In Class 22, you learned how to use the themes and color palette features in App Lab. In this project, you will have to practice and apply what you learned in the class and design an app to create your own color theme.

Story

Eva recently learned designed an app on App Lab. However, it wasn’t very appealing in its design and color theme.. She has been exploring App Lab to understand how to add color to the screen. She also wants to know how to add design elements on the screen. But she has forgotten how to do so and is struggling. Can you help Eva design the app?
  1. Login to code.org
  2. Click on the following link: Project Template
  3. Click on “View code”.
  4. Click on “Remix” to.
  5. Rename the project to Project 22 and click on Save
  6. CREATE YOUR OWN COLOR THEME
  7. Specific Tasks to Complete the Project::
Problem
Submissions
Leaderboard
Discuss
Solution

Bob runs a tile shop. He sells only square tiles. He charges $a per unit area and $b per unit length of its side. Moreover, he also charges a constant amount of $c for each tile. He asks you to calculate the total amount he gets after selling exactly one tile of side length x in range [l,r]. Bob knows that his earnings is beyond your calculation, so he asks you to calculate amount modulo (109+7).

Input Format

First line contains number of test cases, T. Each test case contains 5 integers, a, b, c, l, r.

Constraints

1 <=T<=10^5
1<=a,b,c,l,r<=10^9< /p>

Output Format

Output a single integer denoting answer as per the problem statement.

Sample Input

1
1 1 1 1 10

Sample Output

450

Arrays and Pointers
Timed
The questions are timed, you will get 30 seconds for one question.
Questions
There will be 10 skill based MCQ questions.
Retake
Not happy with the results? Retake to improve your scores.
Arrays and Pointers
Go Back
08/10
Your Score
Arrays and Pointers
Q1. What is the preferred way for adding a background color in HTML?
30
SEC
some random option
some random option
some random option
some random option
8 Questions Remaining
Leaderboard
1
Yashvardhan
Grade 7th
10/10
1
Yashvardhan
Grade 7th
10/10
1
Yashvardhan
Grade 7th
10/10
1
Yashvardhan
Grade 7th
10/10
1
Yashvardhan
Grade 7th
10/10
1
Yashvardhan
Grade 7th
10/10
1
Yashvardhan
Grade 7th
10/10
1
Yashvardhan
Grade 7th
10/10
1
Yashvardhan
Grade 7th
10/10
1
Yashvardhan
Grade 7th
10/10
1
Yashvardhan
Grade 7th
10/10
1
Yashvardhan
Grade 7th
10/10
1
Yashvardhan
Grade 7th
10/10
1
Yashvardhan
Grade 7th
10/10
1
Yashvardhan
Grade 7th
10/10
1
Yashvardhan
Grade 7th
10/10