k, l, m, and n are integers and k x l = 6, l x m = 20 m x n = 15 and k x n =9
Draw and label a line with collinear points J, K, L, M, N, and O. J and O are not between any points
They are named as K , L , M , N ... . Where in K is the first shell , L is the second shell , M is the third shell , N is the fourth shell and so on.
H I J K L M N O is the chemical formula for water. The letters go from H to O, H20 =)
k,l n;lm;m
Maximum number of possible electrons in each shell: K - 2 L - 8 M - 8 N - 18
#include<iostream> using namespace std; int main(){ cout<<"enter size of hollow diamond"; int n; cin>>n; if(n%2==0) n++; // here I am dealing with odd size for(int i=0;i<n;i++){// for the first line cout<<"*"; } cout<<"\n"; int p,k=n/2; p=k; int j,l,m,o=1; for(i=0;i<p;i++){//for top half for(j=0;j<k;j++){//for left quarter cout<<"*"; } for(l=0;l<o;l++){// for space cout<<" "; } for(m=0;m<k;m++){//for right quarter cout<<"*"; } cout<<"\n"; k--; o+=2; } k+=2; o-=4; for(i=0;i<p-1;i++){//for the bottom half for(j=0;j<k;j++){//for left quarter cout<<"*"; } for(l=0;l<o;l++){// for space cout<<" "; } for(m=0;m<k;m++){//for right quarter cout<<"*"; } cout<<"\n"; k++; o-=2; } for(i=0;i<n;i++){//for last line cout<<"*"; } return 0; }
K,l,m,n are the stationary orbits
N i g g a w a s l i k e d a m n
a b c d e f g h i j k l m n OOOOOOOOOOOOOOO a b c d e f g h i j k l m n OOOOOOOOOOOOOOO
N i g g a w a s l i k e d a m n
a