WSQ 07- Lists.

--Originally published at Alexa

#include <iostream>
#include <cmath>wsq7
using namespace std;

int main ()
{
float tot, avr, sta;
float numbers [10];
tot =0;
sta =0;

for (int i=0; i<10; i++)
{
cout<<“Please give me the value of a number: “<<endl;
cin>>numbers [i];
tot = tot + numbers[i];Resultado de imagen para cute doggo}

avr=tot/10.0;

for (int i=0; i<10; i++)
{
sta = sta + (numbers [i]-avr)*(numbers [i]-avr);
}

sta = sqrt (sta)/10.0;

cout<<“\nThe total is: “<<tot <<endl;
cout<<“The average is: “<<avr <<endl;
cout<<“The standard deviation is: “<<sta <<endl;

return 0;
}

#masterytopic14 #masterytopic18. In this program I made use of arrays and “for” loops. This program asks the user for 10 numbers and then calculates the sum, average and standard deviation. I had already done my program and it worked only that I didn’t do it how it was supposed to be. Teacher Ken helped me with this one. Thanks Ken.


Feedback of this first partial

--Originally published at Alexa

IT WAS HARD, not because of the programation but because adapting to a new environment without my family was difficult and kinda sad. I still miss them tho. My grades weren’t as good as expected, i’m poorer everyday, i’m always hungry and ain’t nobody got time to sleep. I think this gets easier, but we’ll see. I ❤ Ru Paul’s everyone should see Season 6. #RPDGseason6 #party #laganjaestranja #thelibraryisopen

Resultado de imagen para dog with makeup

this doggo is giving some 80’s diva glamazon realness. The couture is amazing. Shantay she stays.


WSQ 01- Fun with numbers.

--Originally published at Alexa

wsq1

I had a hard time doing this one because I didn’t know I had to write ./a. out every time I changed a single thing about it. I used google images and weird pages to make it work. After 30 min of trying to run it properly it finally raaaaaaaaaaan #blessed #memyselfandI #TC1017


Hello World

--Originally published at Alexa

helloI’ve had already some contact with programmation before, I had the C++ application on my computer but I felt this activity was a little different. I didn’t have to use a bash, or not that I can recall. After finishing this project I felt good. It was nice to see that all the effort and uninstalled adapters worked up for something.


Installing the bash

--Originally published at Alexa

sadI got some trouble installing the bash, not because of the installing per se but of the consequences of installing it. One of my drivers got unistalled automatically and I didn’t know what to do tbh. It was the “Realtek RTL8723DE 802.11b/g/n PCle Adapter” I don’t know what it means, the only thing I really know is that my Adapter for Wifi wasn’t working so I didn’t have access to internet and I was shooked. I fixed it like in 30 minutes so I felt like super hacker.