Answer:
Miguel y Maru están muy cansados. - Miguel y Maru están cansadísimos
Felipe es muy joven. - Felipe es jovencísimo
Jimena es muy inteligente. - Jimena es inteligentísima
La madre de Marissa está muy contenta. - La madre de Marissa está contentísima
Estoy muy aburrido. - Estoy aburridísimo
Explanation:
In this activity we have to switch the statements to the absolute superlative of the expressions. In Spanish we can add the suffix -ísimo to an adjective to refer to the highest degree of something. It can be translated in ENglish to "really, extremely, super or quie". The statements in English are:
- Miguel and Maru are very tired - Miguel and Mary are extremely tired
- Felipe is very young - Felipe is super young
- Jimena is very smart - Jimena is really smart
- Marissa´s mother is very happy - Marissa´s mother is extremely happy
- I´m very bored - I´m super bored
Answer:
// here is code in C++
#include <bits/stdc++.h>
using namespace std;
// main function
int main()
{
// variables
int n,no_open=0;
cout<<"enter the number of lockers:";
// read the number of lockers
cin>>n;
// initialize all lockers with 0, 0 for locked and 1 for open
int lock[n]={};
// toggle the locks
// in each pass toggle every ith lock
// if open close it and vice versa
for(int i=1;i<=n;i++)
{
for(int a=0;a<n;a++)
{
if((a+1)%i==0)
{
if(lock[a]==0)
lock[a]=1;
else if(lock[a]==1)
lock[a]=0;
}
}
}
cout<<"After last pass status of all locks:"<<endl;
// print the status of all locks
for(int x=0;x<n;x++)
{
if(lock[x]==0)
{
cout<<"lock "<<x+1<<" is close."<<endl;
}
else if(lock[x]==1)
{
cout<<"lock "<<x+1<<" is open."<<endl;
// count the open locks
no_open++;
}
}
// print the open locks
cout<<"total open locks are :"<<no_open<<endl;
return 0;
}
Explanation:
First read the number of lockers from user.Create an array of size n, and make all the locks closed.Then run a for loop to toggle locks.In pass i, toggle every ith lock.If lock is open then close it and vice versa.After the last pass print the status of each lock and print count of open locks.
Output:
enter the number of lockers:9
After last pass status of all locks:
lock 1 is open.
lock 2 is close.
lock 3 is close.
lock 4 is open.
lock 5 is close.
lock 6 is close.
lock 7 is close.
lock 8 is close.
lock 9 is open.
total open locks are :3
Answer:
function validateForm(event)
{
event.preventDefault();
var phoneNumber = form.phoneNumber.value;
var userName = form.userName.value;
if(phoneNumber.length!=10)
console.log("Phone Number is Invalid");
if(userName.length<11)
console.log("User Name is Invalid");
}
First, we have to understand what scope is. When variables are declared, they are only available in the code block they're declared in, unless they're global variables (this doesn't apply here).
strFirst is declared in usernameMaker and that is the only place it is available in.
Since you have not provided the choices wherein I will have to choose from to arrive at an answer, I will just explain to you the concept revolving around a hosted blog software. Hosted blog software are basically installed by the owner of the web server in which among its famous platforms is the Blogger.