@techit On most altcoin exchanges you can deposit the currency your altcoin is trading against. For example most coins trade against Bitcoin (BTC), so you can deposit BTC to buy the desired altcoin.
So the normal workflow is, first you buy BTC on a big Bitcoin exchange for fiat money, and then transfer the BTC to an altcoin exchange to buy altcoins.