Minggu, 03 November 2019

Program Menghitung Berat Badan Ideal dengan C++


Hai guyss!
Kembali lagi bersamakuu hehe
jadi, materi kali ini tentang program c++



#include <iostream>

#include <stdlib.h>

using namespace std;

int main() {
      
       int tb, bbi;
      
    cout<<"Menghitung Berat Badan Ideal Anda "<<endl<<endl<<"-------------------"<<endl;

    cout<<"Masukkan tinggi badan (dalam cm) : ";

    cin>>tb;

    system("cls");

    bbi=tb-100-(0.1*(tb-100));

    cout<<"Berat badan ideal Anda"<<endl<<"           "<<bbi<<" Kg"<<"          ";
}


Penjelasan kode program:
o   Int tb,bbi berarti mendeklarasikan variable tb,bbi yang mempunyai tipe data integer atau bilangan bulat.
o   cout<< diikuti dengan teks yang akan ditampilkan diapit dengan tanda kutip ganda. Digunakan untuk menampilkan teks.
o   cout<< diikuti dengan nama konstanta atau variable. Berfungsi untuk menampilkan nilai dari suatu konstanta atau variable yang dimasukkan.
o   cin>> berfungsi memasukkan data dari keyboard kemudian diikuti dengan nama variable atau nama konstanta.
o   bbi=tb-100-(0.1*(tb-100)) merupakan rumus atau operator yang dimasukkan kedalam variable bbi tanda * berfungsi sebagai perkalian.
o   <<endl digunakan untuk memindahi tampilan pada baris berikutnya.

o   System(“cls”) digunakan untuk membersihkan layar yang terdapat d #include <stdlib.h>

Output



Subject-Verb Agreement

Hay guys!!
I Have a English  Material Again.
Hope it will be useful for you guys!

      Subjects and verbs must AGREE with one another in number (singular or plural).  Thus, if a subject is singular, its verb must also be singular; if a subject is plural, its verb must also be plural.

In the present tense, nouns and verbs form plurals in opposite ways: nouns ADD an s to the singular form; verbs REMOVE the s from the singular form.
                                     

These agreement rules do not apply to verbs used in the simple past tense without any helping verbs.
                  

The agreement rules do, however, apply to the following helping verbs when they are used with a main verb: is-arewas-werehas-havedoes-do.
                      

The agreement rules do not apply to has-have when used as the SECOND helping verb in a pair. 
                     

They do NOT apply to any other helping verbs, such as can, could, shall, should, may, might, will, would, must.
                 

The subject-verb agreement rules apply to all personal pronouns except I and you, which, although SINGULAR, require PLURAL forms of verbs.
  


Possessive Pronouns

Hello guys!
so guyssssss, i am back!! with new material.
so here is ittt!!

Personal Pronoun
Possessive Determiner
Possessive Dronoun
I
my
mine
you (singular and plural)
your
yours
he
his
his
she
her
hers
it
its
its*
we
our
ours
they
their
theirs
one
one’s
one’s*
*We avoid using its and one’s as possessive pronouns except when we use them with own:
The house seemed asleep yet, as I have said, it had a life of its own.
One doesn’t like to spend too much time on one’s own.

Typical errors

  • We don’t use ’s after possessive pronouns:
Are those gloves hers?
Not: Are those gloves her’s?
  • ’s is not used with the possessive pronoun its. It’s means ‘it is’:
The team is proud of its ability to perform consistently well.
Not: … proud of it’s ability …
  • We don’t use another determiner with a possessive determiner:
I’m going to get my hair cut this afternoon.
Not: … get the my hair cut …
  • We don’t use possessive determiners on their own. They are always at the beginning of noun phrases:
That’s not my book. It’s yours. (or It’s your book.)
Not: It’s your.
  • We don’t use possessive pronouns before nouns:
Lots of our friends were at the party.
Not: Lots of ours friends …


cc:https://dictionary.cambridge.org/grammar/british-grammar/pronouns-possessive-my-mine-your-yours-etc 

Rabu, 16 Oktober 2019

Contoh KOP SURAT Perusahaan



Berikut merupakan contoh KOP SURAT PERUSAHAAN:





Cara membuatnya yaitu
1. Buka Microsoft Word
2. Klik  2x bagian atas kertas dan akan muncul header 
3. Kreasi sesuai keinginan kalian
4. Jika ingin menambahkan logo klik Insert Picture
5. Jika ingin menambahkan garis klik Insert Shapes
6. Jika ingin mengubah warna tulisan dan ukuran tulisan. select tulisan yang ingin diubah  kemudian klik Home dan ubahlah sesuai keinginan.

Semoga bermanfaat!

Basic English (Be Verbs)

And i have some info for you guys, about "Be Verbs".
so, here is it!


Verbs must match subjects.
  • am a doctor.
  • He is sleepy.
  • We are here.

Negative sentences need ‘not' after the verb.
  • I am not a doctor.
  • He is not sleepy.
  • We are not there.

The verb comes first in interrogative sentences.
  • Am I a doctor?
  • Is he sleepy?
  • Are we there?

"Are not" (is not) can be shortened to "aren't" (isn't).
  • He isn't sleepy.
  • We aren't there.


Remember the variations of "be" verbs:


PresentNegativeInterrogative
I amI am notAm I?
You areYou are not (aren't)Are you?
He isHe is not (isn't)Is he?
She isShe is not (isn't)Is she?
It isIt is not (isn't)Isn't it?
We areWe are not (aren't)Are we?
You areYou are not (aren't)Are you?
They areThey are not (aren't)Are they?


Program Menghitung luas Segitiga menggunakan C++


Berikut ini merupakan contoh program menghitung luas segitiga menggunakan C++


#include <iostream>
using namespace std;

int main() {
      
       int alas,tinggi,luas;
      
    cout<<"Menghitung Luas Segitiga "<<endl<<endl;
    cout<<"Masukkan alas : ";
    cin>>alas;
    cout<<"Masukkan tinggi : ";
    cin>>tinggi;
    luas=0.5*alas*tinggi;
    cout<<endl<<endl;
    cout<<"Luas segitiga dari data tersebut = "<<luas;
}


Penjelasan Program:
o   int alas,tinggi,Luas berarti mendeklarasikan variable alas,tinggi,luas yang mempunyai tipe data integer atau bilangan bulat.
o   cout<< diikuti dengan teks yang akan ditampilkan diapit dengan tanda kutip ganda. Digunakan untuk menampilkan teks.
o   cout<< diikuti dengan nama konstanta atau variable. Berfungsi untuk menampilkan nilai dari suatu konstanta atau variable yang dimasukkan.
o   cin>> berfungsi memasukkan data dari keyboard kemudian diikuti dengan nama variable atau nama konstanta.
o   Luas=0.5*alas*tinggi merupakan rumus atau operator yang dimasukkan kedalam variable Luas. tanda * berfungsi sebagai perkalian
o   <<endl digunakan untuk memindahi tampilan pada baris berikutnya

Output:





Singular & Plural Nouns

Hello guys!
I have some info for u
this is for you  who want to learn about basic English.
the topic is Singular & Plural Nouns.

and this is the  example,

For the plural form of most nouns, add s.
  • bottle – bottles
  • cup – cups
  • pencil – pencils
  • desk – desks
  • sticker – stickers
  • window – windows
For nouns that end in ch, x, s, or s sounds, add es.
  • box – boxes
  • watch – watches
  • moss – mosses
  • bus – buses
For nouns ending in f or fe, change f to v and add es.
  • wolf – wolves
  • wife – wives
  • leaf – leaves
  • life – lives
Some nouns have different plural forms.
  • child – children
  • woman – women
  • man – men
  • mouse – mice
  • goose – geese
Nouns ending in vowels like y or o do not have definite rules.
  • baby – babies
  • toy – toys
  • kidney – kidneys
  • potato – potatoes
  • memo – memos
  • stereo – stereos
A few nouns have the same singular and plural forms.
  • sheep – sheep
  • deer – deer
  • series – series
  • species – species

Quantifiers Countable & Uncountable Nouns

 Hello peeeepss! welcome back with me!!^^ this time, i will inform you about Quantifiers, enjoyy it!! What are quantifiers? A quantif...