the info needed to log in
-This would show what is protected in the privacy policy and its related to you since it would show personal data.
-A good Privacy Policy depends on understanding these matters - showing that this is not an agreement to take for granted.
Answer:
#include <iostream>
#include <string>
#include <stack>
#include <math.h>
using namespace std;
int main() {
string s;
double n=0;
int position=0;
stack<int> wholeNumbers;
cout<<"Enter a decimal number:";
cin>>s;
string::iterator counter = s.begin();
while(*counter!='.' && counter!=s.end()){
wholeNumbers.push(*counter-48);
counter++;
position=position+1;
}
for(int i=0;i<position;i++){
n=n+(wholeNumbers.top()*pow(10,i));
wholeNumbers.pop();
}
position=-1;
if(counter!=s.end()){
counter++;
}
while(counter!=s.end()){
n=n+((*counter-48)*pow(10,position));
position=position-1;
counter++;
}
cout<<n;
}
Explanation:
- Inside the while loop, push the push a number to the wholeNumbers stack by subtracting it with 48.
- Increment the counter and position variable by 1 inside the while loop.
- Count the number of digit, push each digit to top of stack and find the end of the number,
- Run a for loop up to the value of position variable and pop a value from the wholeNumbers stack.
JavaScript- Used in designing websites
Python- Used in developing desktop and web applications
C++ Used in Video games, operating systems such as Windows 10, and device drivers.
Answer:
i don't understand what you put if you fix it so i can understand it i will try and figure it out
Explanation:
thank you so much but i don't understand it sorry.........
:(
Answer:
Metals can react with water, acid and oxygen. The reactivity of the metal determines which reactions the metal participates in.
Explanation:
In general, acids react with metals to give salt and release hydrogen gas. In general, bases do not react with metals and release hydrogen gas.When metals react with other substances, the metal atoms lose electrons to form positive ions .