Sunday, November 27, 2022
Envato Elements
Home Blog

Top 5 best Smart TV to buy under 15000

0

Top 5 smart tv to buy under 15000

Redmi 80Cm 32-inch smart Tv https://amzn.to/3S4oje0

Chance to win iPhone 13 Pro Max For FREE

0

Top 5 Best CPA & CPI Networks To Join In 2022

What are CPA and CPI Marketing?

CPA Marketing

CPA stands for cost per action. It means whenever a user completes any specific task (i.e. completing a survey, lead gen, email submits, etc.). The publisher gets paid.

CPI Marketing

CPI stands for cost per install. it means whenever a user installs an app from a publisher’s affiliate link the publisher gets paid.

Top 5 CPA & CPI networks

  1. Adludum
  2. Clickdealer
  3. CPA Build
  4. OGAds
  5. Maxbounty

What Is An Emergency Fund? Why Do We Need That?

0

In the year 2020, Covid 19 was the biggest disaster for humans. But at the same time, it was also a great teacher who taught us about many things. From washing hands regularly to saving money for future use & many more.

What is an emergency fund?

An emergency fund is a fund or amount of money which is kept or saved aside for the reason to be used in the future for unexpected emergency cases which may come up unexpectedly.

Why do we need an emergency fund?

An emergency fund is needed to overcome financially during an emergency or an extreme emergency. We humans cant know what is going to happen in the future, It may happen anything. As we saw during Covid 19, many people loosed their jobs, and many were stuck outside of their city. This is the case where an emergency fund plays an important role in our lives. Here are some cases where we need an emergency fund.

Medical or health emergency.

A medical or health emergency is a type of emergency that can come any time and without giving a single hint. A medical emergency is an unexpected situation that requires instant action. Some of the medical emergencies are:-

  • Accident
  • Cancer
  • Heart Attack Or Heart Diseases
  • Liver Diseases
  • Kidney Diseases
  • Flu

These are some diseases that need immediate action. If the action is not been taken in time then the patient may also die. And in this situation, if we are empty-handed then our emergency fund may come into use of it.

Job Loss

The best example of unemployment is covid 19. During Covid 19 million people suffered from job loss. We have to save funds for up to 6 months which can help us when we lose jobs unexpectedly.

Vehicle Repairs

Breaking down vehicles is still a problem for many workers. There are many places where the company doesn’t provide pickup and drop services to their employee. So many people choose to go buy bikes or cars. Sometimes our vehicles get broke and we shave to wait till the date of salary to repair our vehicles. This leads to low attendance in the office and also a salary deduction. Here if we have saved emergency funds then we would have repaired our vehicle.

Unplanned Travel

Traveling, there are many peoples who have hobbies of traveling but at the same time, there are many peoples who leave their city or village and moved to another for making money. While working in another city or village, if their family members meet with a serious incident then they have to immediately leave the workplace and ran for home town or village. In these cases, emergency money plays an important role.

Conclusion

The purpose of saving an emergency fund is that it gives you security. It helps you when you are out of money. Emergency funds give you the power to fight from fear of any unexpected emergencies.

Dart Program To Check Pass Or Fail.

0

Problem Statement

Given the final percentage a student has gotten at the end of a semester, you need to write a program that decides if the student has passed or failed the semester.
If the percentage is higher than or equal to 60, the student has passed the semester. If the percentage is lower than 60, the student has failed the semester.
However, the percentage is not the only thing that determines if a student has passed or failed. A student does not pass if their score is 5 points below the class average.
For instance, if the average class score is 70, the student must have a minimum score of 65 to pass.
If the average class score is 50, the student still needs a score of 60 to pass based on our first condition.
The average has already been declared for you.

Input

The input will be the variable percentage that stores the final percentage the student received.
The percentage has already been declared for you.

Output

The output should be pass if the student has a percentage higher than or equal to 60 while also being 5 within the average class score, otherwise, it would be fail.
The result should be displayed as output.

Example

Sample Input

81

Sample Output

pass

Program

void main() {
	var percentage, classAverage, points;
  percentage = 81;
  classAverage = 70;
  points = classAverage - percentage;
  if(points <=5 && percentage >= 60)
  {
    print("pass");
  }
  else {
    print("fail");
  }
}

OUTPUT:

pass

Dart Program To Convert Temperature From Fahrenheit To Celsius.

0

Problem Statement

You are given a variable, Fahrenheit, which stores a temperature in degrees Fahrenheit. You have to create a variable, celsius, which converts the temperature stored in Fahrenheit to degrees Celsius.

To convert temperature from degrees Fahrenheit to degrees Celsius, you first need to subtract 32 from the temperature, then multiply it by 5, followed by a division by 9.

Input

The input is the variable Fahrenheit.
Fahrenheit has already been declared for you.

Output

The output will be the value assigned to celsius.

Example

Sample Input

50.0

Sample Output

10.0

Program

void main() {
	var fahrenheit, celsius;
  fahrenheit = 50.0;
  celsius = (fahrenheit - 32) * 5/9;
  {
    print(celsius);
  }
}

OUTPUT:

10.0

Dart Program To Check Numbers Using Multiple Operators.

0

Problem Statement

You are given a variable, check, which stores an integer value. You have to create a variable compareCheck which checks if the value stored in the check is less than 75 and greater than or equal to 8. The result should be true if it is between 8 and 75, and false if it isn’t.

Input

The input is the variable check.
The check has already been declared for you.

Output

The output will be the value assigned to compareCheck.

Example

Sample Input

3

Sample Output

false

Program

void main() {
  var check, compareCheck;
	check = 3;
  compareCheck = check;
  if(compareCheck < 75 && compareCheck >= 8)
  {
    print(true);
  }
  else{
    print(false);
  }
}

OUTPUT:

false

Dart Programming Embed A Variable In A String.

0

Problem Statement

You are given two variables, name and age, which store a person’s name and age respectively. You have to embed the name and age in a larger string and print the final string.

Input

The input is the variable’s name and age.
Name and Age have already been declared for you.

Output

The output will be the final string in which you will embed your name and age.

Example

Sample Input

“Ben”, 18

Sample Output

“Ben is 18 years old.”

Program

void main() {
	var name, age;
  name = "Ben";
  age = 18;
  String output = "$name is $age years old";
  {
    print(output);
  }
}

OUTPUT:

Ben is 18 years old

Dart Program To Get The Name Of The Day

0

Day Name Based On Day Number

Dart program to get the name of the day by entering the number of the day using Switch Case
For Example:-

Day = 1Output = Sunday
Day = 2Output = Monday
Day = 3Output = Tuesday
Day = 4Output = Wednesday
Day = 5Output = Thursday
Day = 6Output = Friday
Day = 7Output = Saturday

To run dart program open www.dartpad.dev

Program

void main() {
  int day = 2; //Enter day number
  
  switch (day){
    case 1: { //Case For Day 1
      print("Sunday"); //Statement
    }
      break;
      
    case 2: { //Case For Day 2
      print ("Monday"); //Statement
    }
      break;
      
    case 3: { //Case For Day 3
      print ("Tuesday"); //Statement
    }
      break;
      
    case 4: { //Case For Day 4
      print ("Wednesday"); //Statement
    }
      break;
      
    case 5: { //Case For Day 5
      print ("Thursday"); //Statement
    }
      break;
      
    case 6: { //Case For Day 6
      print ("Friday"); //Statement
    }
      break;
      
    case 7: { //Case For Day 7
      print ("Saturday"); //Statement
    }
      break;
      
    default: {  //Default Case
      print ("Invalid Day Number"); //Statement
    }
      break;
  }
}

OUTPUT:

Monday