Can an e be described by the following set of quantum numbers? If not indicate which of the quantum numbers has a value that is not valid: n=2, £=1, ml= -1, Ms=+½
the total mass of 8 packets each of same size is 42kg 400gm What is the mass of each such packet?
Write a program to act as a digital combination lock safe. Create 3 buttons representing 1, 2 and 3. The user clicks on the buttons trying to guess the correct numbers eg (3321). Use a label to keep track of and display code enrered so far. Only once the correct numbers are pressed, the program congratulates the user with a message.
#include <iostream>
#include <vector>
std::vector<std::string> getUniqueBrands(const std::vector<std::string>& brand1, const std::vector<std::string>& brand2)
{
throw std::logic_error("yet to be implemented");
}
int main()
{
std::vector<std::string> brand1 = {"LOUIS_VUITTON", "HERMES", "PRADA");
std::vector<std::string> brand2 = {"GUCCI", "PRADA", "HERMES");
std::vector<std::string> result = getUniqueBrands(brand1 , brand2);
for(auto element : result)
{
std::count << element<< ' ';
//should print GUCHHI HERMES LOUIS_VUITTON PRADA
}
}
Write a C++ program that asks the user to enter 10 integer values in an array. After entering 10
elements find the maximum number and display it on output screen.
Create a program the user will input 5 grades (choose any subjects and input any grades). Determine individual subjects either passed or failed. Lastly, calculate the average grade and determine whether if passed or failed.
Sample output:
Student Name: Jessica
Math: 74 - Failed
Science: 89 - Passed
English: 74 - Failed
*If the average grade is >= 75
the output should be
PASSED!
*If the subject grade is below 74 the output should be
You need to re-take in Math Subject and English Grade
*If the average grade is <= 74 the output should be
YOU FAILED!
words with vowels
The goal of this coading exam is to quickly get you off the ground with the array method filter().
given vowel list in the prefilled code and wordList as input,write a js program to,
filrer the words from wordslist with at least one vowel in it
log the array containning the filtered words in the console
input:
['Sword' , 'Myth' , 'Patient', 'Rhythm']
output:
['Sword', 'Patient']
input:
['Road' , 'Printer' , 'Eye' , 'Hymn']
output:
['Road' , 'Printer' , 'Eye' ]
The balance of payments is a systematic statistical summary or record of all economic transactions between South Africa and the rest of the world.
1. True
2. False
The data for the balance of payments is only available at current (nominal) prices.
1. True
2. False
Write C++ Program that obtains several number of students’ info and displays it to
the console. Define a structure Student, structure data members char ID[15], char
grade.