1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
miv72 [106K]
4 years ago
9

What is the error in following code?? z,p=6

Computers and Technology
1 answer:
marysya [2.9K]4 years ago
8 0

Answer:

Explanation:

In C or C++ if you are defining a variable, the type should be written before the variable.

Example

int z,p=6;

Also in this statement semi colon is missing.

You might be interested in
Indicates the beginning and ending of your code written in HTML
lawyer [7]

Answer:

<body> ...</body>

indicates the beginning and ending of your code written in HTML

Explanation:

4 0
3 years ago
Write an expression using membership operators that prints "Special number" if special_num is one of the special numbers stored
Mashcka [7]

Answer:

In python, the statement can be written as:

<em>if(special_num in special_list): print("Special Number") </em>

Explanation:

We need to create a list with the name 'special_list' with some values and then check whether special_num is in the list or not using the membership operator.

Membership operator in python: <em>in</em>

Let us do it step by step in python:

<em>special_list = ['1', '2', '3','4']      #</em>A list with the values 1, 2, 3 and 4

<em>special_num = input("Enter the number to be checked as special \t") </em>

<em>#</em>Taking the input from the user in the variable special_num.

<em>if(special_num </em><em>in</em><em> special_list): print("Special Number") </em>

#Using the membership operator <em>in </em>to check whether it exists in the list or not.

Please refer to the image attached for the execution of above program.

So, the answer is:

In python, the statement can be written as:

<em>if(special_num in special_list): print("Special Number") </em>

6 0
4 years ago
Hey guys can u tell me <br><br>5 advantages of spread sheet<br>kinda urngent ?​
olya-2409 [2.1K]

1. Spreadsheets Improve Data Organization

2. Easing Collaborative Data Collection

3. Spreadsheets Enable Dynamic Calculations With Built-In Formulas

4. Spreadsheets Are Equipped With Preset Functions

5. Spreadsheets Provide Functionality For Graphing And Visual Aids

hope it helps

5 0
3 years ago
Read 2 more answers
Assume we perform a known-plaintext attack against DES with one pair of plaintext and ciphertext. How many keys do we have to te
nasty-shy [4]

Answer:

2^{55} keys in a worst case scenario

Explanation:

So, Average will be : 2^{56} /2

2^{55}(Answer)

5 0
3 years ago
Need help plzz now it's hard ​
nalin [4]

Answer:

tost makinasıyla mı çektin amk bide siz zenginsizniz

Explanation:

5 0
3 years ago
Other questions:
  • What is the answer please
    13·2 answers
  • J'Dean is a team lead at a car wash. He wrote a memo to the employees, explaining some upcoming promotions, but J'Dean didn't fu
    6·2 answers
  • What type of file is MyFile.dll?
    14·2 answers
  • Which of the following describe design themes in PowerPoint? Choose all that apply.
    10·1 answer
  • Help me please I will make BRAINLIEST
    5·1 answer
  • Network footprinting is used to ______________________. Group of answer choices test for vulnerabilities determine what services
    12·1 answer
  • The encapsulating security ______ protocol provides secrecy for the contents of network communications as well as system-to-syst
    14·1 answer
  • What is a graph,a chart then give similarities between graph and chart.​
    6·2 answers
  • To defeat SQL injection attacks, a web application has implemented a filtering scheme at the client side: basically, on the page
    15·1 answer
  • The simple mixture of flour and water​
    7·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!