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
pogonyaev
4 years ago
14

Yo don't take this down just join this server you can say what ever

Computers and Technology
1 answer:
MrMuchimi4 years ago
4 0

Answer:

Stop this and watch some prawns

You might be interested in
Write a program that prompts for a file name and then reads the file to check for balanced curly braces, {; parentheses, (); and
Phoenix [80]

Answer:

Explanation:

The program is written in C++

/*

 C++ Program to check for balanced parentheses in an expression using stack.

 Given an expression as string comprising of opening and closing characters

 of parentheses - (), curly braces - {} and square brackets - [], we need to  

 check whether symbols are balanced or not.  

*/

#include<iostream>

#include<stack>

#include<string>

using namespace std;

// Function to check whether two characters are opening  

// and closing of same type.  

bool ArePair(char opening,char closing)

{

if(opening == '(' && closing == ')') return true;

else if(opening == '{' && closing == '}') return true;

else if(opening == '[' && closing == ']') return true;

return false;

}

bool AreParanthesesBalanced(string exp)

{

stack<char>  S;

for(int i =0;i<exp.length();i++)

{

 if(exp[i] == '(' || exp[i] == '{' || exp[i] == '[')

  S.push(exp[i]);

 else if(exp[i] == ')' || exp[i] == '}' || exp[i] == ']')

 {

  if(S.empty() || !ArePair(S.top(),exp[i]))

   return false;

  else

   S.pop();

 }

}

return S.empty() ? true:false;

}

int main()

{

/*Code to test the function AreParanthesesBalanced*/

string expression;

cout<<"Enter an expression:  "; // input expression from STDIN/Console

cin>>expression;

if(AreParanthesesBalanced(expression))

 cout<<"Balanced\n";

else

 cout<<"Not Balanced\n";

}

5 0
3 years ago
Discuss ANOTHER key events in the development of photography. Make sure to explain when the event occurred and WHY this event wa
NARA [144]

Answer:

Answer:

Explanation:

Explanation:

4 0
4 years ago
A teacher needs inexpensive laptops to run distance-learning courses.________
nexus9112 [7]

Answer:

This

Explanation:

is veryhard plz please someone answer

8 0
3 years ago
Read 2 more answers
I have just one question , if this web site is for students to use , how it is nobody uses google? i use google all the time and
muminat
Either we can't find the answer on google (some people don't give straight answers on Yahoo, or it just doesn't fit the answer we're looking for), or some people are too lazy to look. Personally, I like using this website but I mainly just use it when I need a little help :) 
8 0
3 years ago
Read 2 more answers
How many words can be stored in a RAM with a 16-bit word size and a total capacity of 4096 bits; and how many address lines are
masya89 [10]

Answer:

There total capacity of RAM is 4096 bits.

Word Size = 16 bits

Total Number of words in RAM = 4096/16

Total Number of words in RAM = 256 locations

Now compute the number of addresses.

No. of addresses = log₂(256)

                             = log₁₀(256)/log₁₀(2)

No. of addresses = 8 address lines

Total 8 address lines required to address 256 locations RAM of size 16 bit each location.  

Explanation:

There we are unable to calculate log base 2. There is a formula to calculate this as

log₂(x)= log₁₀(x)/log₁₀(2)

4 0
3 years ago
Other questions:
  • All of the following are types of data storage devices except CD/DVD computer monitor digital cameras flash drive
    15·1 answer
  • If you have a mix of 32-bit and 64-bit versions of windows, which architectures should you add a unattended installation file fo
    7·1 answer
  • What is the difference, if any, between secure HTTP and firewalls?
    13·1 answer
  • Proxy servers and ACLs on network devices are examples of non-security devices with security features, while firewalls and IDS/I
    7·1 answer
  • All organizations with a router at the boundary between the organization’s internal networks and the external service provider w
    11·1 answer
  • Which statement outputs a double value in a field of nine characters with three digits after the decimal point?
    13·1 answer
  • Use list indexing to print the last element of the list literal value.
    9·1 answer
  • Suppose you are developing a data visualization application DataViz which calls some functions from a statistics library class S
    5·1 answer
  • To light up an LED, you need to connect the cathode leg to one of the Digital Pins and connect the Anode leg to the ……………. on th
    13·1 answer
  • Which finger has two number keys to type instead of just one?.
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!