1

```
// a code to produce matrix style affect
#include "stdafx.h"
#include<iostream>
using namespace std;
int modulus(int Number, int number);
char getchar(int lowerlimit, char a, int upperlimit);
int modulus(int Number, int number)
{
int q=Number/number;
return Number-(q*number);
}
char getchar(int lowerlimit, char a, int upperlimit)
{
return (a+modulus(lowerlimit,upperlimit));
}
int _tmain(int argc, _TCHAR* argv[])
{
char arr[80];
int j=7;
int k=2;
int l=5;
int m=1;
while(true)
{
int i=0;
while(i<40)
{
if(arr[i]!=' ')
{
arr[i]=getchar(j+i*i,33,30);
}
cout<<getchar(j+i*i,33,30);
cout<<getchar(7+3*3,33,30); // just to check i added this statement and ran the
program without including the statement just above it and figured out modulus function doesn't seem to work for some reason even though it should, what it does is simply add 7+9+33 and prints out the character representing that value which is (, even though what it should have done is that it should have applied modulus function to evaluate ((7+9)%30) and then should have added it to 33 as per stated in the function and then should have printed out the character represented by that value, atleast thats what i think.
i++;
}
j=(j+31);
k=(k+17);
l=(l+47);
m=(m+67);
arr[modulus(j,80)]=' '; // this is supposed to start a new streak how?when it doesnt evaluate to zero?
arr[modulus(k,80)]=''; // // this is supposed to end a streak how?
arr[modulus(l,80)]=' '; // and this is supposed to start a new streak? how?
arr[modulus(m,80)]='''; // // this is supposed to end a streak how?
//how can they end or begin a streak when they are not even printed out in the code?
i=0
while(i<3000000)
{
getchar(1,1,1);
i++;
}
}
return 0;
}
```