Answer:
Following are the code to this question:
code:
=IF(EXACT(I2,"Yes"),"Elected",IF(EXACT(K2,"Yes"),"Yes","No"))
Explanation:
In the given the data is not defined so we explain only the above code, but before that, we briefly define working of if the function that can be defined as follows:
-
The If() function, is used only when one of the logical functions and its value must return the value true. or we can say it only return a true value.
- In the above function, a column "Elected" is used that uses other column values to check this column value is equal if this condition is true it will return "yes" value.
Hi! I'm a Digital Marketer Intern at hotels.ng and I have a moderate knowledge on programming.
First, your question is not very explanatory. The term "view" is often used in back-end web development. A view is simply a Python function that takes a Web request and returns a Web response.
But I'm not sure this is what you want, so I'll just go ahead and write a python function involving class to return the total number of credits taken by a student.
I'll answer this question using Python.
class student(object):
credits = None
year = None
def num_credits(self):
#get credit value
self.credits = input("Enter the total number of credits: " )
pass
def getYear(self):
self.year = input("Enter current year: ")
pass
def tot_credits(self):
TotalCredits = tempTotalCredits + self.num_credits
print "Your total credits are :"+" "+str(TotalCredits)
Answer:
#include <iostream>
using namespace std;
void CoordTransform(int *ptr1, int *ptr2);
int main()
{
int xVal;
int yVal;
cout<<"please enter two valid integers";
cin>>xVal;
cin>>yVal;
CoordTransform(&xVal , &yVal);
int xValNew=xVal;
int yValNew=yVal;
cout<<xValNew<<yValNew;
return 0;
}
void CoordTransform(int *ptr1, int *ptr2)
{
int a = *ptr1;
*ptr1=(*ptr1+1)*2;
*ptr2=(*ptr2+1)*2;
}
Explanation:
It will return new values in previously defined variables
coding language: c++
Collectively, skills like the ones listed above are Technical skills. These skills refer to the Knowledge and ability to perform specific tasks. However, Soft skills are also important, because they relate to the ability to interact and communicate effectively with people.
Answer:
Explanation:
import java.Util;
public class Eggs{
public static void main (String [] args)
{
int noOfEggs, dozen, units;
float total;
Scanner input = new Scanner(System.in);
noOfEggs = input.nextInt();
if(noOfEggs < 0)
{
System.out.print("Invalid");
}
else
{
if(noOfEggs >= 12)
{
dozen = noOfEggs/12;
units = noOfEggs % 12;
}
else
{
dozen = 0;
units = noOfEggs;
}
total = dozen * 3.25 + (units * 45)/100;
System.out.print("You ordered "+noOfEggs+" eggs.\n");
System.out.print("That's "+dozen+" dozen at $3.25 per dozen and "+units+" loose eggs at 45 cents each for a total of $"+total);
}
}
}